aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2017-11-02 14:16:22 +0000
committerThomas Preud'homme <thomas.preudhomme@arm.com>2017-11-02 14:16:22 +0000
commit852735806aa4343ba4bbe89656041800cf482918 (patch)
treec708d95c962e45290321d7d1cb09ff8e5973f2ed /gas/testsuite
parentdcc31d286ad05aa93577181f9a8292009622363e (diff)
downloadgdb-852735806aa4343ba4bbe89656041800cf482918.zip
gdb-852735806aa4343ba4bbe89656041800cf482918.tar.gz
gdb-852735806aa4343ba4bbe89656041800cf482918.tar.bz2
[ARM] Help wince objdump on coproc tests
Object files other than ELF do not have mapping symbols to indicate the type of data for objdump to work reliably. This is why the following tests FAIL on arm-wince-pe targets: ARMv6T2 Thumb CoProcessor Instructions (1) ARMv6T2 Thumb CoProcessor Instructions (2) This patch adds the force-thumb disassembler option to objdump for this test to PASS on these targets as well. 2017-11-02 Thomas Preud'homme <thomas.preudhomme@arm.com> gas/ * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d: Add --disassembler-options=force-thumb to objdump options. * testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d: Likewise.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d2
-rw-r--r--gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d2
2 files changed, 2 insertions, 2 deletions
diff --git a/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d b/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d
index 974cecc..55c6967 100644
--- a/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d
+++ b/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d
@@ -1,5 +1,5 @@
#source: copro-arm_v2plus-thumb_v6t2plus.s
-#objdump: -dr --prefix-addresses --show-raw-insn
+#objdump: -dr --prefix-addresses --show-raw-insn --disassembler-options=force-thumb
#name: ARMv6T2 Thumb CoProcessor Instructions (1)
#as: -march=armv6t2 -mthumb -mimplicit-it=always -EL
diff --git a/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d b/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d
index 4d5a8e7..e31536e 100644
--- a/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d
+++ b/gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d
@@ -1,5 +1,5 @@
#source: copro-arm_v5plus-thumb_v6t2plus.s
-#objdump: -dr --prefix-addresses --show-raw-insn
+#objdump: -dr --prefix-addresses --show-raw-insn --disassembler-options=force-thumb
#name: ARMv6T2 Thumb CoProcessor Instructions (2)
#as: -march=armv6t2 -mthumb -EL