diff options
author | Alan Modra <amodra@gmail.com> | 2005-08-23 06:18:45 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-08-23 06:18:45 +0000 |
commit | ac8058268341e27c245411cba2a80e6c8b8918c6 (patch) | |
tree | 11e541133f22d11d404c782d884116200eb99e0b /gas | |
parent | 478ec1e3954a966ca4a62f394e884bdf157aedd0 (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index ac525f3..6956f7b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. 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; |