From a308b89de77e782b563fe5f712397848bfd4a897 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 11 Jul 2020 04:04:08 -0700 Subject: 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. --- include/ChangeLog | 4 ++++ include/elf/common.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 49b9f03..6a69a74 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-07-11 H.J. Lu + + * elf/common.h (GNU_PROPERTY_X86_FEATURE_2_TMM): New. + 2020-07-09 John Baldwin * elf/common.h (AT_FREEBSD_ARGC, AT_FREEBSD_ARGV, AT_FREEBSD_ENVC) 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 -- cgit v1.1