aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-12-03 23:14:24 +0000
committerAlan Modra <amodra@gmail.com>2007-12-03 23:14:24 +0000
commitd13d40158906cfac1ef1a1df91096590ed35c787 (patch)
tree4b92f46184e52a9ca6cf907fe19bf8769e0a7a5e
parentdade8b53efa13879226f860e9e1fe80d3212e420 (diff)
downloadgdb-d13d40158906cfac1ef1a1df91096590ed35c787.zip
gdb-d13d40158906cfac1ef1a1df91096590ed35c787.tar.gz
gdb-d13d40158906cfac1ef1a1df91096590ed35c787.tar.bz2
* config/tc-ppc.c (ppc_tc): Allow a space between toc symbol
name and bracket.
-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 == '{'