From a5840dce5b38d27879af8c72d227c0c0c06c6597 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 16 Jan 2013 06:12:46 +0000 Subject: [PATCH] * config/tc-ppc.c (md_assemble ): Ignore line after finding some sort of toc syntax error, and break to avoid compiler uninit warning. --- gas/ChangeLog | 6 ++++++ gas/config/tc-ppc.c | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 8962bbb7737..2c64f68825c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2013-01-16 Alan Modra + + * config/tc-ppc.c (md_assemble ): Ignore line after + finding some sort of toc syntax error, and break to avoid + compiler uninit warning. + 2013-01-15 H.J. Lu PR gas/15019 diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 850eb05af61..fd15bea68a1 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 ']'. */ -- 2.30.2