From: Alan Modra Date: Tue, 23 Aug 2005 06:18:45 +0000 (+0000) Subject: PR 1036 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac8058268341e27c245411cba2a80e6c8b8918c6;p=binutils-gdb.git PR 1036 * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index ac525f37841..6956f7b56a9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-08-23 Alan Modra + + PR 1036 + * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['. + 2005-08-23 Phil Edwards * configure.tgt (*-*-vxworks): Match vxworks* instead. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 29b37cddda1..c7ad9706724 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;