aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-08-23 06:18:45 +0000
committerAlan Modra <amodra@gmail.com>2005-08-23 06:18:45 +0000
commitac8058268341e27c245411cba2a80e6c8b8918c6 (patch)
tree11e541133f22d11d404c782d884116200eb99e0b /gas/config/tc-ppc.c
parent478ec1e3954a966ca4a62f394e884bdf157aedd0 (diff)
downloadgdb-ac8058268341e27c245411cba2a80e6c8b8918c6.zip
gdb-ac8058268341e27c245411cba2a80e6c8b8918c6.tar.gz
gdb-ac8058268341e27c245411cba2a80e6c8b8918c6.tar.bz2
PR 1036
* config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 29b37cd..c7ad970 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -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;