aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-06-15 15:42:36 +0000
committerNick Clifton <nickc@redhat.com>2009-06-15 15:42:36 +0000
commitfe2ceba1015932a19f428ccc01143df437567be4 (patch)
tree8cb99443b166325193633a74d21884b3755b75ee /gas
parent522fe56177eaa68d38d62ae56763544ab795c36b (diff)
downloadgdb-fe2ceba1015932a19f428ccc01143df437567be4.zip
gdb-fe2ceba1015932a19f428ccc01143df437567be4.tar.gz
gdb-fe2ceba1015932a19f428ccc01143df437567be4.tar.bz2
PR 10186
* arm-dis.c (thumb32_opcodes): Fix binary value of SEV.W instruction. * gas/arm/thumb32.d: Fix expected binary value of SEV.W instruction. * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W instruction.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-arm.c2
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/arm/thumb32.d2
4 files changed, 13 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5ddad8d..04e73ad 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-15 Nick Clifton <nickc@redhat.com>
+
+ PR 10186
+ * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
+ instruction.
+
2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10269
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index eaaaf06..67d8cc9 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -8429,7 +8429,7 @@ encode_thumb32_addr_mode (int i, bfd_boolean is_t, bfd_boolean is_d)
X(yield, bf10, f3af8001), \
X(wfe, bf20, f3af8002), \
X(wfi, bf30, f3af8003), \
- X(sev, bf40, f3af9004), /* typo, 8004? */
+ X(sev, bf40, f3af8004),
/* To catch errors in encoding functions, the codes are all offset by
0xF800, putting them in one of the 32-bit prefix ranges, ergo undefined
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 2d92d05..b2fba43 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-15 Nick Clifton <nickc@redhat.com>
+
+ PR gas/10186
+ * gas/arm/thumb32.d: Fix expected binary value of SEV.W instruction.
+
2009-06-09 Jakub Jelinek <jakub@redhat.com>
PR gas/10255
diff --git a/gas/testsuite/gas/arm/thumb32.d b/gas/testsuite/gas/arm/thumb32.d
index c508b21..9637022 100644
--- a/gas/testsuite/gas/arm/thumb32.d
+++ b/gas/testsuite/gas/arm/thumb32.d
@@ -359,7 +359,7 @@ Disassembly of section .text:
0[0-9a-f]+ <[^>]+> f3af 8001 yield\.w
0[0-9a-f]+ <[^>]+> f3af 8002 wfe\.w
0[0-9a-f]+ <[^>]+> f3af 8003 wfi\.w
-0[0-9a-f]+ <[^>]+> f3af 9004 sev\.w
+0[0-9a-f]+ <[^>]+> f3af 8004 sev\.w
0[0-9a-f]+ <[^>]+> bf90 nop \{9\}
0[0-9a-f]+ <[^>]+> f3af 8081 nop\.w \{129\}
0[0-9a-f]+ <[^>]+> bf08 it eq