summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2011-01-06 14:30:43 +0000
committerNathan Sidwell <nathan@codesourcery.com>2011-01-06 14:30:43 +0000
commit639e30d29765fab6d78246ce4bb0d7a0f893d85d (patch)
tree946d7115878d6b7a3a9ff10f6c8f85f77354a1d9 /opcodes
parent9849fbfc4110f61ba10aa4a4d9114f3b6ac62237 (diff)
downloadbinutils-gdb-639e30d29765fab6d78246ce4bb0d7a0f893d85d.tar.gz
gas/testsuite/
* gas/arm/blx-bad.s: New. * gas/arm/blx-bad.d: New. opcodes/ * arm-dis.c (thumb32_opcodes): BLX must have bit zero clear.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/arm-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 5284ba4ee9e..2083200ec92 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-05 Nathan Sidwell <nathan@codesourcery.com>
+
+ * arm-dis.c (thumb32_opcodes): BLX must have bit zero clear.
+
2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (REG_VEX_38F3): New.
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index b8d02e55dce..91eba51da28 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -1563,7 +1563,7 @@ static const struct opcode32 thumb32_opcodes[] =
{ARM_EXT_V6T2, 0xf0009000, 0xf800d000, "b%c.w\t%B%x"},
/* These have been 32-bit since the invention of Thumb. */
- {ARM_EXT_V4T, 0xf000c000, 0xf800d000, "blx%c\t%B%x"},
+ {ARM_EXT_V4T, 0xf000c000, 0xf800d001, "blx%c\t%B%x"},
{ARM_EXT_V4T, 0xf000d000, 0xf800d000, "bl%c\t%B%x"},
/* Fallback. */