* 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.
This commit is contained in:
Alan Modra
2013-01-16 06:12:46 +00:00
parent c3fac5e480
commit a5840dce5b
2 changed files with 8 additions and 3 deletions

View 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

View 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 ']'. */