]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
x86/APX: GETSEC cannot be used with REX2
authorJan Beulich <jbeulich@suse.com>
Fri, 31 Jan 2025 09:07:32 +0000 (10:07 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 31 Jan 2025 09:07:32 +0000 (10:07 +0100)
It lives in a "forbidden" row, yet its disassembler table entry was
lacking a respective marker.

opcodes/i386-dis.c

index 9e5747c1e3475e2fcf5c6f49d4e0541e0116ccd4..cc5448b27847a87c893a15a1f5bf4bfddb91091e 100644 (file)
@@ -2307,7 +2307,7 @@ static const struct dis386 dis386_twobyte[] = {
   { "sysenter",                { SEP }, PREFIX_REX2_ILLEGAL },
   { "sysexit%LQ",      { SEP }, PREFIX_REX2_ILLEGAL },
   { Bad_Opcode },
-  { "getsec",          { XX }, 0 },
+  { "getsec",          { XX }, PREFIX_REX2_ILLEGAL },
   /* 38 */
   { THREE_BYTE_TABLE (THREE_BYTE_0F38) },
   { Bad_Opcode },