From: Alan Modra Date: Mon, 3 Dec 2007 23:14:24 +0000 (+0000) Subject: * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d13d40158906cfac1ef1a1df91096590ed35c787;p=binutils-gdb.git * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol name and bracket. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 41879a3222d..6d2a351af5e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2007-12-04 Alan Modra + + * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol + name and bracket. + 2007-11-30 Bob Wilson * config/tc-xtensa.h (md_allow_eh_opt): Define. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index a4c83d9033f..4ded14928d3 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -4059,6 +4059,7 @@ ppc_tc (int ignore ATTRIBUTE_UNUSED) /* Skip the TOC symbol name. */ while (is_part_of_name (*input_line_pointer) + || *input_line_pointer == ' ' || *input_line_pointer == '[' || *input_line_pointer == ']' || *input_line_pointer == '{'