This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] [ARM] Help wince objdump on coproc tests
- From: Thomas Preud'homme <thopre01 at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 2 Nov 2017 14:17:29 -0000
- Subject: [binutils-gdb] [ARM] Help wince objdump on coproc tests
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=852735806aa4343ba4bbe89656041800cf482918
commit 852735806aa4343ba4bbe89656041800cf482918
Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Date: Thu Nov 2 14:16:22 2017 +0000
[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.
Diff:
---
gas/ChangeLog | 6 ++++++
gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-1.d | 2 +-
gas/testsuite/gas/arm/copro-thumb_v6t2plus-thumb_v6t2-2.d | 2 +-
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 82e5580..ce1a97a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2017-11-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+ * 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.
+
2017-11-01 James Bowman <james.bowman@ftdichip.com>
* config/tc-ft32.c (md_assemble): Add relaxation reloc
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