* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
authorAlan Modra <amodra@gmail.com>
Mon, 3 Dec 2007 23:14:24 +0000 (23:14 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 3 Dec 2007 23:14:24 +0000 (23:14 +0000)
name and bracket.

gas/ChangeLog
gas/config/tc-ppc.c

index 41879a3222d5e17b67a387751d2ae2bd95f58bb1..6d2a351af5e73fab0b4356ae8eb031967145a398 100644 (file)
@@ -1,3 +1,8 @@
+2007-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
+       name and bracket.
+
 2007-11-30  Bob Wilson  <bob.wilson@acm.org>
        
        * config/tc-xtensa.h (md_allow_eh_opt): Define.
index a4c83d9033f9367f6cf97949f4ad1a681a64d0b7..4ded14928d31edd423537d1b0f005bc760c58a16 100644 (file)
@@ -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 == '{'