diff options
author | Anthony Green <green@moxielogic.com> | 2016-11-13 07:37:02 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2016-11-13 07:37:02 -0500 |
commit | 3f47df7fb3fb46566bb68dd638a61cef87dd14e9 (patch) | |
tree | 336515d55bb87b6cf8ed0b1cb0a8b92b50709f1e | |
parent | 75d6c74e79ded209b1f0959b1780ab5b8885b9c2 (diff) | |
download | gdb-3f47df7fb3fb46566bb68dd638a61cef87dd14e9.zip gdb-3f47df7fb3fb46566bb68dd638a61cef87dd14e9.tar.gz gdb-3f47df7fb3fb46566bb68dd638a61cef87dd14e9.tar.bz2 |
Assemble 'bad' moxie instruction
-rw-r--r-- | gas/config/tc-moxie.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-moxie.c b/gas/config/tc-moxie.c index 7e6a8cf..80de828 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 (); } |