aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
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 ']'. */