aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 41879a3..6d2a351 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index a4c83d9..4ded149 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 == '{'