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] Fix ldah being disassembled as ldaexh


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

commit 3395762edd7232d976179b232c93cd901b739367
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         | 5 +++++
 gas/testsuite/gas/arm/armv8-a.d | 6 +++---
 opcodes/ChangeLog               | 5 +++++
 opcodes/arm-dis.c               | 2 +-
 4 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index e73a977..f3ffe38 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+	* gas/arm/armv8-a.d: <ldaexh>: Rename mismatched mnemonics ...
+	<ldah>: ... to this.
+
 2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
 
 	* gas/aarch64/float-fp16.d: New.
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 8024b52..7b097f3 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+	* arm-dis.c (arm_opcodes): <ldaexh>: Fix typo...
+	<ldah>: ... to this.
+
 2015-11-27  Matthew Wahab  <matthew.wahab@arm.com>
 
 	* aarch64-asm-2.c: Regenerate.
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index cff4b3f..94fe304 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -1608,7 +1608,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]