x86-64: correct mis-named X86_64_0D enumerator

Message ID 4966de69-b26f-ae6a-1c63-61452aba642f@suse.com
State New
Headers show
Series
  • x86-64: correct mis-named X86_64_0D enumerator
Related show

Commit Message

Jan Beulich March 12, 2020, 7:37 a.m.
This is for major opcode 0E, so name it accordingly.

opcodes/
2020-03-XX  Jan Beulich  <jbeulich@suse.com>

	* i386-dis.c (X86_64_0D): Rename to ...
	(X86_64_0E): ... this.

Comments

H.J. Lu via Binutils March 12, 2020, 9:32 a.m. | #1
On Thu, Mar 12, 2020 at 12:37 AM Jan Beulich <jbeulich@suse.com> wrote:
>

> This is for major opcode 0E, so name it accordingly.

>

> opcodes/

> 2020-03-XX  Jan Beulich  <jbeulich@suse.com>

>

>         * i386-dis.c (X86_64_0D): Rename to ...

>         (X86_64_0E): ... this.

>


OK.

Thanks.

-- 
H.J.

Patch

--- 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[
     { "popP", { es }, 0 },
   },
 
-  /* X86_64_0D */
+  /* X86_64_0E */
   {
     { "pushP", { cs }, 0 },
   },