PR 1036
authorAlan Modra <amodra@gmail.com>
Tue, 23 Aug 2005 06:18:45 +0000 (06:18 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Aug 2005 06:18:45 +0000 (06:18 +0000)
* config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.

gas/ChangeLog
gas/config/tc-ppc.c

index ac525f3..6956f7b 100644 (file)
@@ -1,3 +1,8 @@
+2005-08-23  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 1036
+       * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
+
 2005-08-23  Phil Edwards  <phil@codesourcery.com>
 
        * configure.tgt (*-*-vxworks):  Match vxworks* instead.
index 29b37cd..c7ad970 100644 (file)
@@ -184,8 +184,10 @@ const char EXP_CHARS[] = "eE";
 const char FLT_CHARS[] = "dD";
 
 /* '+' and '-' can be used as postfix predicate predictors for conditional
-   branches.  So they need to be accepted as symbol characters.  */
-const char ppc_symbol_chars[] = "+-";
+   branches.  So they need to be accepted as symbol characters.
+   Also, anything that can start an operand needs to be mentioned here,
+   to stop the input scrubber eating whitespace.  */
+const char ppc_symbol_chars[] = "+-%[";
 
 /* The dwarf2 data alignment, adjusted for 32 or 64 bit.  */
 int ppc_cie_data_alignment;