ppc-gas: Add '+' and '-' to symbol chars list

H. J. Lu hjl@lucon.org
Mon Apr 28 04:24:00 GMT 2003


On Mon, Apr 28, 2003 at 09:14:06AM +0930, Alan Modra wrote:
> On Thu, Apr 24, 2003 at 11:19:18AM +0100, Nick Clifton wrote:
> >   The recent patches to app.c have broken GAS for the PPC.  This is
> 
> It has also broken hppa. :-(
> 

This seems to work for me.


H.J.
---
2003-04-27  H.J. Lu <hjl@gnu.org>

	* config/tc-hppa.c (hppa_symbol_chars): New.
	* config/tc-hppa.h (tc_symbol_chars): Likewise.

--- gas/config/tc-hppa.c.symbol	2003-01-23 09:20:47.000000000 -0800
+++ gas/config/tc-hppa.c	2003-04-27 21:19:53.000000000 -0700
@@ -622,6 +622,9 @@ static struct call_desc last_call_desc;
 /* handle of the OPCODE hash table */
 static struct hash_control *op_hash = NULL;
 
+/* Those characters can be suffixes of opcode names.  */
+const char hppa_symbol_chars[] = ",*!?=<>";
+
 /* Table of pseudo ops for the PA.  FIXME -- how many of these
    are now redundant with the overall GAS and the object file
    dependent tables?  */
--- gas/config/tc-hppa.h.symbol	2003-02-27 11:27:09.000000000 -0800
+++ gas/config/tc-hppa.h	2003-04-27 21:10:43.000000000 -0700
@@ -106,6 +106,9 @@ extern void pa_check_eof PARAMS ((void))
 
 #define tc_frob_label(sym) pa_define_label (sym)
 
+extern const char	hppa_symbol_chars[];
+#define tc_symbol_chars	hppa_symbol_chars
+
 /* The PA does not need support for either of these.  */
 #define tc_crawl_symbol_chain(headers) {;}
 #define tc_headers_hook(headers) {;}



More information about the Binutils mailing list