diff options
author | Jan Beulich <jbeulich@suse.com> | 2024-12-02 09:39:23 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2024-12-02 09:39:23 +0100 |
commit | 57c526470bbf03220f928f0894a85c76a9659d35 (patch) | |
tree | 38969008959837168726e26eb8dfb894d146a920 /opcodes | |
parent | a96a8b7367b2cd51ff32c69e516dfbe0204c8008 (diff) | |
download | gdb-57c526470bbf03220f928f0894a85c76a9659d35.zip gdb-57c526470bbf03220f928f0894a85c76a9659d35.tar.gz gdb-57c526470bbf03220f928f0894a85c76a9659d35.tar.bz2 |
x86: default to not accepting MPX insns
Gcc9 had MPX support removed. While we don't want to remove support,
require these deprecated insns (and registers) to be enabled explicitly.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/i386-gen.c | 2 | ||||
-rw-r--r-- | opcodes/i386-init.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index 5a3b156..bb10ae8 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -47,7 +47,7 @@ typedef struct dependency static const dependency isa_dependencies[] = { { "UNKNOWN", - "~IAMCU" }, + "~(IAMCU|MPX)" }, { "GENERIC32", "386" }, { "GENERIC64", diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h index 8b54d17..3d12c6b 100644 --- a/opcodes/i386-init.h +++ b/opcodes/i386-init.h @@ -1481,7 +1481,7 @@ #define CPU_UNKNOWN_FLAGS \ { { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, \ - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, \ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ |