diff options
author | Nick Clifton <nickc@redhat.com> | 2013-10-08 08:06:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-10-08 08:06:34 +0000 |
commit | b0e6a1b2249e4b329c0feeb903599f223d5d5c73 (patch) | |
tree | b6a931c980dc6b42718bd2d845cb271f14869f08 /gas/testsuite/gas/msp430/bad.l | |
parent | b337c58d283772fb8f45cf0ed25af493136acf85 (diff) | |
download | binutils-redhat-b0e6a1b2249e4b329c0feeb903599f223d5d5c73.tar.gz |
* config/tc-msp430.c (msp430_operands): Accept "<foo>.a" as an alias
for "<foo>a". Issue error messages for unrecognised or corrrupt
size extensions.
* gas/msp430/bad.s: New test: Checks erroneous size extensions.
* gas/msp430/bad.d: New test command file.
* gas/msp430/bad.l: New file: Expected error messages.
* gas/msp430/msp430.exp: Run the new test.
* gas/msp430/msp430x.s: Add "<foo>.a" aliases of "<foo>a"
instructions.
* gas/msp430/msp430x.d: Update expected disassembly.
Diffstat (limited to 'gas/testsuite/gas/msp430/bad.l')
-rw-r--r-- | gas/testsuite/gas/msp430/bad.l | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/testsuite/gas/msp430/bad.l b/gas/testsuite/gas/msp430/bad.l new file mode 100644 index 0000000000..218dcd0704 --- /dev/null +++ b/gas/testsuite/gas/msp430/bad.l @@ -0,0 +1,7 @@ +[^:]*: Assembler messages: +[^:]*:6: Error: unrecognised instruction size modifier .z +[^:]*:7: Error: junk found after instruction: mov.bc r1,r2 +[^:]*:8: Error: junk found after instruction: mov.cd r1,r2 +[^:]*:9: Error: junk found after instruction: mov.cd r1,r2 +[^:]*:10: Warning: no size modifier after period, .w assumed +[^:]*:11: Error: instruction bis.a does not exist |