projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75d6c74
)
Assemble 'bad' moxie instruction
author
Anthony Green
<green@moxielogic.com>
Sun, 13 Nov 2016 12:37:02 +0000
(07:37 -0500)
committer
Anthony Green
<green@moxielogic.com>
Sun, 13 Nov 2016 12:37:02 +0000
(07:37 -0500)
gas/config/tc-moxie.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-moxie.c
b/gas/config/tc-moxie.c
index 7e6a8cf446a6e98d63bcee84a835119ba4e85d03..80de828aa9dba3b95a45da9b0b4be3abc8649f02 100644
(file)
--- 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 ();
}