From: Anthony Green Date: Sun, 13 Nov 2016 12:37:02 +0000 (-0500) Subject: Assemble 'bad' moxie instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f47df7fb3fb46566bb68dd638a61cef87dd14e9;p=binutils-gdb.git Assemble 'bad' moxie instruction --- diff --git a/gas/config/tc-moxie.c b/gas/config/tc-moxie.c index 7e6a8cf446a..80de828aa9d 100644 --- a/gas/config/tc-moxie.c +++ b/gas/config/tc-moxie.c @@ -535,6 +535,13 @@ md_assemble (char *str) BFD_RELOC_MOXIE_10_PCREL); } break; + case MOXIE_BAD: + iword = 0; + while (ISSPACE (*op_end)) + op_end++; + if (*op_end != 0) + as_warn (_("extra stuff on line ignored")); + break; default: abort (); }