Arm: Clean up PE GAS testsuite correct THUMB tests.
authorTamar Christina <tamar.christina@arm.com>
Thu, 17 Jan 2019 16:05:37 +0000 (16:05 +0000)
committerTamar Christina <tamar.christina@arm.com>
Thu, 17 Jan 2019 16:06:31 +0000 (16:06 +0000)
commitdee3ee22244df9c8b3220af7f4361e69adb84c97
tree3510a559e905ed922e425696547e5eee5ba8229b
parentbaae986a40eb2ed6d612436586bfa7dd1d88702d
Arm: Clean up PE GAS testsuite correct THUMB tests.

The PE targets don't support mapping symbols and so the disassembler is unable
to correctly output thumb instructions when the input was thumb.

So for testcases that only have thumb output, I have copied them and skipped the
ones for which auto-detection is supposed to work on PE, and added a new one
that will force thumb output.  This so that the tests still check the mapping
symbols.

For the tests that switch between thumb and arm in one file I just skip them
entirely on PE targets.

This cleans up the PE GAS testsuite.

gas/

* testsuite/gas/arm/archv6t2-1-pe.d: New test.
* testsuite/gas/arm/archv6t2-1.d: Skip pe.
* testsuite/gas/arm/csdb.d: Skip pe.
* testsuite/gas/arm/sb-thumb1-pe.d: New test.
* testsuite/gas/arm/sb-thumb1.d: Skip pe.
* testsuite/gas/arm/sb-thumb2-pe.d: New test.
* testsuite/gas/arm/sb-thumb2.d: Skip pe.
* testsuite/gas/arm/udf.d: Skip pe.
gas/ChangeLog
gas/testsuite/gas/arm/archv6t2-1-pe.d [new file with mode: 0644]
gas/testsuite/gas/arm/archv6t2-1.d
gas/testsuite/gas/arm/csdb.d
gas/testsuite/gas/arm/sb-thumb1-pe.d [new file with mode: 0644]
gas/testsuite/gas/arm/sb-thumb1.d
gas/testsuite/gas/arm/sb-thumb2-pe.d [new file with mode: 0644]
gas/testsuite/gas/arm/sb-thumb2.d
gas/testsuite/gas/arm/udf.d