[PATCH][Binutils][Arm] Clean up PE GAS testsuite correct THUMB tests.
Tamar Christina
Tamar.Christina@arm.com
Thu Jan 17 15:25:00 GMT 2019
Hi All,
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.
build on native hardware and regtested on
arm-none-elf, arm-none-elf (32 bit host),
arm-none-linux-gnueabihf, arm-none-linux-gnueabihf (32 bit host)
Cross-compiled and regtested on
arm-none-linux-gnueabihf, armeb-none-elf, arm-wince-pe
and no issues.
Ok for master?
Thanks,
Tamar
gas/ChangeLog:
2019-01-17 Tamar Christina <tamar.christina@arm.com>
* 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.
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb10594.patch
Type: text/x-diff
Size: 3853 bytes
Desc: rb10594.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20190117/eaa27758/attachment.bin>
More information about the Binutils
mailing list