diff options
author | Alan Modra <amodra@gmail.com> | 2013-01-16 06:12:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-01-16 06:12:46 +0000 |
commit | a5840dce5b38d27879af8c72d227c0c0c06c6597 (patch) | |
tree | f062d8224589796f4752e6bde2e0530d4ac41026 /gas/config | |
parent | c3fac5e480cf317425da694228d09a6f34b4917a (diff) | |
download | gdb-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/config')
-rw-r--r-- | gas/config/tc-ppc.c | 5 |
1 files changed, 2 insertions, 3 deletions
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 ']'. */ |