]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[ARM] Fix bxns mask
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Fri, 16 Mar 2018 14:18:53 +0000 (14:18 +0000)
committerThomas Preud'homme <thomas.preudhomme@arm.com>
Fri, 16 Mar 2018 14:22:23 +0000 (14:22 +0000)
Bit 7 of BXNS is a fixed bit which distinguish it from BLXNS. Yet it is
not set in the disassembler entry mask. This commit fixes that.

2018-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>

Backport from mainline
2018-02-19  Thomas Preud'homme  <thomas.preudhomme@arm.com>

opcodes/
* arm-dis.c (thumb_opcodes): Fix BXNS mask.

opcodes/ChangeLog
opcodes/arm-dis.c

index dcca8ce5c9cbc302bfef69ca4dfc5b860df8efe0..cae90ebe124ea571cce42af47cb898df87d3441e 100644 (file)
@@ -1,3 +1,10 @@
+2018-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       Backport from mainline
+       2018-02-19  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * arm-dis.c (thumb_opcodes): Fix BXNS mask.
+
 2018-02-05  Nick Clifton  <nickc@redhat.com>
 
        * po/pt_BR.po: Updated Brazilian Portuguese translation.
index 5efe0316222d077a61831c743593e96e2ff6d77e..afa9410b4f4b4bbcaba5d4a61bdf72c75487b969 100644 (file)
@@ -2530,7 +2530,7 @@ static const struct opcode16 thumb_opcodes[] =
 
   /* ARMv8-M Security Extensions instructions.  */
   {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8M), 0x4784, 0xff87, "blxns\t%3-6r"},
-  {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8M), 0x4704, 0xff07, "bxns\t%3-6r"},
+  {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8M), 0x4704, 0xff87, "bxns\t%3-6r"},
 
   /* ARM V8 instructions.  */
   {ARM_FEATURE_CORE_LOW (ARM_EXT_V8),  0xbf50, 0xffff, "sevl%c"},