* config/tc-ppc.c (md_assemble <TE_PE>): Ignore line after
authorAlan Modra <amodra@gmail.com>
Wed, 16 Jan 2013 06:12:46 +0000 (06:12 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Jan 2013 06:12:46 +0000 (06:12 +0000)
finding some sort of toc syntax error, and break to avoid
compiler uninit warning.

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

index 8962bbb..2c64f68 100644 (file)
@@ -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
index 850eb05..fd15bea 100644 (file)
@@ -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 ']'.  */