powerpc gas .tc

Alan Modra amodra@bigpond.net.au
Mon Dec 3 23:13:00 GMT 2007


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



More information about the Binutils mailing list