gas/arc: Fix test for big-endian arc
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 15 Mar 2016 22:38:41 +0000 (22:38 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 21 Mar 2016 16:44:11 +0000 (16:44 +0000)
commit62f6f9c28ac4df0ebafbbbfdb5319e74582db5a2
treee7de028f6cd6d39fe219c0b10c3908fdd933af9f
parente1fa0163505af867009ea73fc5f705162120e795
gas/arc: Fix test for big-endian arc

The inline-data test checks the specific bytes laid down by the
assembler, and so relies on the endianness of the target.  I could
change the expected results to be endian agnostic, however, I worried
that a bug in the assembler that gets the endianness wrong would then
slip through.  Instead I add a new test for big-endian arc, and restrict
the existing test to little-endian arc.

gas/ChangeLog:

* testsuite/gas/arc/inline-data-1.d: Add target restriction.
* testsuite/gas/arc/inline-data-2.d: New file.
gas/ChangeLog
gas/testsuite/gas/arc/inline-data-1.d
gas/testsuite/gas/arc/inline-data-2.d [new file with mode: 0644]