* 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 8962bbb7737d88276045439e953bf69a199faf1a..2c64f68825c37164fa6a8811f06afc2dbb989e3a 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 850eb05af614f710ad85b8f73b33af039f2265bd..fd15bea68a1534ec929393dd676b3acd02447e53 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 ']'.  */
This page took 0.028392 seconds and 4 git commands to generate.