aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-07-11 04:04:08 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-07-11 04:04:20 -0700
commita308b89de77e782b563fe5f712397848bfd4a897 (patch)
tree6bd0ffcf8ece00258d36841317e4d6bfc7d4546e /include/elf
parentee9cb95ea14cfc2856a1d89a636d50c14a487de2 (diff)
downloadgdb-a308b89de77e782b563fe5f712397848bfd4a897.zip
gdb-a308b89de77e782b563fe5f712397848bfd4a897.tar.gz
gdb-a308b89de77e782b563fe5f712397848bfd4a897.tar.bz2
x86: Support GNU_PROPERTY_X86_FEATURE_2_TMM
Support GNU_PROPERTY_X86_FEATURE_2_TMM in https://gitlab.com/x86-psABIs/x86-64-ABI/-/merge_requests/1 #define GNU_PROPERTY_X86_FEATURE_2_TMM (1U << 10) binutils/ * readelf.c (decode_x86_feature_2): Handle GNU_PROPERTY_X86_FEATURE_2_TMM. gas/ * config/tc-i386.c (output_insn): Check i.xstate to set GNU_PROPERTY_X86_FEATURE_2_TMM. * testsuite/gas/i386/i386.exp: Run x86-64-property-7, x86-64-property-8 and x86-64-property-9. * testsuite/gas/i386/x86-64-property-7.d: New file. * testsuite/gas/i386/x86-64-property-7.s: Likewise. * testsuite/gas/i386/x86-64-property-8.d: Likewise. * testsuite/gas/i386/x86-64-property-8.s: Likewise. * testsuite/gas/i386/x86-64-property-9.d: Likewise. * testsuite/gas/i386/x86-64-property-9.s: Likewise. include/ * elf/common.h (GNU_PROPERTY_X86_FEATURE_2_TMM): New.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 88dd1c9..2138868 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -846,6 +846,7 @@
#define GNU_PROPERTY_X86_FEATURE_2_XSAVE (1U << 7)
#define GNU_PROPERTY_X86_FEATURE_2_XSAVEOPT (1U << 8)
#define GNU_PROPERTY_X86_FEATURE_2_XSAVEC (1U << 9)
+#define GNU_PROPERTY_X86_FEATURE_2_TMM (1U << 10)
/* AArch64 specific GNU PROPERTY. */
#define GNU_PROPERTY_AARCH64_FEATURE_1_AND 0xc0000000