This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb/binutils-2_26-branch] Fix ldah being disassembled as ldaexh


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ca01ba1ca750ac227cea6cd02145257252a68621

commit ca01ba1ca750ac227cea6cd02145257252a68621
Author: Andre Vieira <Andre dot SimoesDiasVieira at arm dot com>
Date:   Wed Nov 25 13:56:55 2015 +0000

    Fix ldah being disassembled as ldaexh
    
    2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
    
    opcodes/
        * arm-dis.c (arm_opcodes): <ldaexh>: Fix typo...
        <ldah>: ... to this.
    
    gas/testsuite/
        * gas/arm/armv8-a.d: <ldaexh>: Rename mismatched mnemonics ...
        <ldah>: ... to this.

Diff:
---
 gas/testsuite/ChangeLog         | 7 +++++++
 gas/testsuite/gas/arm/armv8-a.d | 6 +++---
 opcodes/ChangeLog               | 7 +++++++
 opcodes/arm-dis.c               | 2 +-
 4 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b429f4e..730d6d2 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+	Apply from master
+	2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+	* gas/arm/armv8-a.d: <ldaexh>: Rename mismatched mnemonics ...
+	<ldah>: ... to this.
+
 2015-12-15  Matthew Wahab  <matthew.wahab@arm.com>
 
 	* gas/aarch64/advsimd-fp16.d: Update expected output.
diff --git a/gas/testsuite/gas/arm/armv8-a.d b/gas/testsuite/gas/arm/armv8-a.d
index 60e5067..2119bcb 100644
--- a/gas/testsuite/gas/arm/armv8-a.d
+++ b/gas/testsuite/gas/arm/armv8-a.d
@@ -32,9 +32,9 @@ Disassembly of section .text:
 0[0-9a-f]+ <[^>]+> e1d00c9f 	ldab	r0, \[r0\]
 0[0-9a-f]+ <[^>]+> e1d11c9f 	ldab	r1, \[r1\]
 0[0-9a-f]+ <[^>]+> e1deec9f 	ldab	lr, \[lr\]
-0[0-9a-f]+ <[^>]+> e1f00c9f 	ldaexh	r0, \[r0\]
-0[0-9a-f]+ <[^>]+> e1f11c9f 	ldaexh	r1, \[r1\]
-0[0-9a-f]+ <[^>]+> e1feec9f 	ldaexh	lr, \[lr\]
+0[0-9a-f]+ <[^>]+> e1f00c9f 	ldah	r0, \[r0\]
+0[0-9a-f]+ <[^>]+> e1f11c9f 	ldah	r1, \[r1\]
+0[0-9a-f]+ <[^>]+> e1feec9f 	ldah	lr, \[lr\]
 0[0-9a-f]+ <[^>]+> e1900c9f 	lda	r0, \[r0\]
 0[0-9a-f]+ <[^>]+> e1911c9f 	lda	r1, \[r1\]
 0[0-9a-f]+ <[^>]+> e19eec9f 	lda	lr, \[lr\]
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 48d4300..2a41d85 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+	Apply from master
+	2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+	* arm-dis.c (arm_opcodes): <ldaexh>: Fix typo...
+	<ldah>: ... to this.
+
 2015-12-15  Matthew Wahab  <matthew.wahab@arm.com>
 
 	* aarch64-opc.c (aarch64_sys_reg_supported_p): Add mistakenly
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 430da08..ae49ebf 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -1607,7 +1607,7 @@ static const struct opcode32 arm_opcodes[] =
   {ARM_FEATURE_CORE_LOW (ARM_EXT_V8),
     0x01e0fc90, 0x0ff0fff0, "stlh%c\t%0-3r, [%16-19R]"},
   {ARM_FEATURE_CORE_LOW (ARM_EXT_V8),
-    0x01f00c9f, 0x0ff00fff, "ldaexh%c\t%12-15r, [%16-19R]"},
+    0x01f00c9f, 0x0ff00fff, "ldah%c\t%12-15r, [%16-19R]"},
   /* CRC32 instructions.  */
   {ARM_FEATURE_COPROC (CRC_EXT_ARMV8),
     0xe1000040, 0xfff00ff0, "crc32b\t%12-15R, %16-19R, %0-3R"},


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]