This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
powerpc gas .tc
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Tue, 4 Dec 2007 09:43:32 +1030
- Subject: powerpc gas .tc
Fixes a regression introduced 2005-08-23.
* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
name and bracket.
Index: gas/config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.131
diff -u -p -r1.131 tc-ppc.c
--- gas/config/tc-ppc.c 12 Nov 2007 00:27:53 -0000 1.131
+++ gas/config/tc-ppc.c 3 Dec 2007 05:45:03 -0000
@@ -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 == '{'
--
Alan Modra
Australia Development Lab, IBM