[binutils-gdb] x86-64: correct mis-named X86_64_0D enumerator

Jan Beulich jbeulich@sourceware.org
Fri Mar 13 08:57:24 GMT 2020


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

commit 1673df3278637a911b55983a92e4d1f61816e57c
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Mar 13 09:57:10 2020 +0100

    x86-64: correct mis-named X86_64_0D enumerator
    
    This is for major opcode 0E, so name it accordingly.

Diff:
---
 opcodes/ChangeLog  | 5 +++++
 opcodes/i386-dis.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 62a843a5483..3be58d5abc5 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2020-03-13  Jan Beulich  <jbeulich@suse.com>
+
+	* i386-dis.c (X86_64_0D): Rename to ...
+	(X86_64_0E): ... this.
+
 2020-03-09  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* Makefile.am ($(srcdir)/i386-init.h): Also pass -P to $(CPP).
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 9b2094467d3..4a59619da40 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -1741,7 +1741,7 @@ enum
 {
   X86_64_06 = 0,
   X86_64_07,
-  X86_64_0D,
+  X86_64_0E,
   X86_64_16,
   X86_64_17,
   X86_64_1E,
@@ -2379,7 +2379,7 @@ static const struct dis386 dis386[] = {
   { "orS",		{ Gv, EvS }, 0 },
   { "orB",		{ AL, Ib }, 0 },
   { "orS",		{ eAX, Iv }, 0 },
-  { X86_64_TABLE (X86_64_0D) },
+  { X86_64_TABLE (X86_64_0E) },
   { Bad_Opcode },	/* 0x0f extended opcode escape */
   /* 10 */
   { "adcB",		{ Ebh1, Gb }, 0 },
@@ -6815,7 +6815,7 @@ static const struct dis386 x86_64_table[][2] = {
     { "popP", { es }, 0 },
   },
 
-  /* X86_64_0D */
+  /* X86_64_0E */
   {
     { "pushP", { cs }, 0 },
   },


More information about the Binutils-cvs mailing list