aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-06-18 10:31:21 +0000
committerNick Clifton <nickc@redhat.com>2009-06-18 10:31:21 +0000
commit0313a2b8d2bc3ac3a15912d7fa9fe02722eaa14c (patch)
treedc124b744e50e56ff817cd08c6ef38edeb61e28f /gas
parent470c710ef03d4c05314c605b26f47fb5a61beb34 (diff)
downloadgdb-0313a2b8d2bc3ac3a15912d7fa9fe02722eaa14c.zip
gdb-0313a2b8d2bc3ac3a15912d7fa9fe02722eaa14c.tar.gz
gdb-0313a2b8d2bc3ac3a15912d7fa9fe02722eaa14c.tar.bz2
PR 10288
* arm-dis.c (print_insn_coprocessor): Check that a user specified ARM architecture supports the matched instruction. (print_insn_arm): Likewise. (select_arm_features): New function. Fills in the fields of an arm_feature_set structure based on a given arm machine number. (print_insn): Initialise an arm_feature_set structure. * objdump.c (disassemble_bytes): Set the USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure if the user has invoked the -m switch. * doc/binutils.texi: Document the additional behaviour of objdump's -m switch for ARM targets. * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags field of struct disassemble_info. * gas/arm/align.s: Add labels so that COFF based targets can correctly locate THUMB code. * gas/arm/copro.d: Do not pass --architecture switch to objdump.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/arm/align.s4
-rw-r--r--gas/testsuite/gas/arm/copro.d2
3 files changed, 12 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b2fba43..5bac61e 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-18 Nick Clifton <nickc@redhat.com>
+
+ PR 10288
+ * gas/arm/align.s: Add labels so that COFF based targets can
+ correctly locate THUMB code.
+ * gas/arm/copro.d: Do not pass --architecture switch to objdump.
+
2009-06-15 Nick Clifton <nickc@redhat.com>
PR gas/10186
diff --git a/gas/testsuite/gas/arm/align.s b/gas/testsuite/gas/arm/align.s
index 43c73ca..7ed8fbb 100644
--- a/gas/testsuite/gas/arm/align.s
+++ b/gas/testsuite/gas/arm/align.s
@@ -1,5 +1,7 @@
.syntax unified
.thumb
+ .global foo
+foo:
nop
mov r1,r2
.p2align 4
@@ -7,6 +9,8 @@
.p2align 3
.arm
+ .global bar
+bar:
nop
mov r1,r2
.p2align 4
diff --git a/gas/testsuite/gas/arm/copro.d b/gas/testsuite/gas/arm/copro.d
index ce79031..e97d6c4 100644
--- a/gas/testsuite/gas/arm/copro.d
+++ b/gas/testsuite/gas/arm/copro.d
@@ -1,4 +1,4 @@
-#objdump: -dr --prefix-addresses --show-raw-insn --architecture=armv5te
+#objdump: -dr --prefix-addresses --show-raw-insn
#name: ARM CoProcessor Instructions
#as: -march=armv5te -EL