aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-01-16 06:12:46 +0000
committerAlan Modra <amodra@gmail.com>2013-01-16 06:12:46 +0000
commita5840dce5b38d27879af8c72d227c0c0c06c6597 (patch)
treef062d8224589796f4752e6bde2e0530d4ac41026 /gas
parentc3fac5e480cf317425da694228d09a6f34b4917a (diff)
downloadgdb-a5840dce5b38d27879af8c72d227c0c0c06c6597.zip
gdb-a5840dce5b38d27879af8c72d227c0c0c06c6597.tar.gz
gdb-a5840dce5b38d27879af8c72d227c0c0c06c6597.tar.bz2
* config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
finding some sort of toc syntax error, and break to avoid compiler uninit warning.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-ppc.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8962bbb..2c64f68 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2013-01-16 Alan Modra <amodra@gmail.com>
+
+ * config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
+ finding some sort of toc syntax error, and break to avoid
+ compiler uninit warning.
+
2013-01-15 H.J. Lu <hongjiu.lu@intel.com>
PR gas/15019
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 850eb05..fd15bea 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -2715,9 +2715,8 @@ md_assemble (char *str)
if (!valid_toc)
{
- /* Note: message has already been issued.
- FIXME: what sort of recovery should we do?
- demand_rest_of_line (); return; ? */
+ ignore_rest_of_line ();
+ break;
}
/* Now get the symbol following the ']'. */