aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/elf/common.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 6ac2dd1..5e6ed7e 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2018-12-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23900
+ * elf/common.h (PT_GNU_PROPERTY): New.
+ (GNU_PROPERTY_X86_UINT32_VALID): Removed.
+
2018-12-11 Nick Clifton <nickc@redhat.com>
PR 88409
diff --git a/include/elf/common.h b/include/elf/common.h
index da9ea03..1b3d713 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -469,6 +469,7 @@
#define PT_SUNW_EH_FRAME PT_GNU_EH_FRAME /* Solaris uses the same value */
#define PT_GNU_STACK (PT_LOOS + 0x474e551) /* Stack flags */
#define PT_GNU_RELRO (PT_LOOS + 0x474e552) /* Read-only after relocation */
+#define PT_GNU_PROPERTY (PT_LOOS + 0x474e553) /* GNU property */
/* Mbind segments */
#define PT_GNU_MBIND_NUM 4096
@@ -799,9 +800,6 @@
#define GNU_PROPERTY_X86_FEATURE_2_USED \
(GNU_PROPERTY_X86_UINT32_OR_AND_LO + 1)
-/* Set by linker to indicate that the property is valid. */
-#define GNU_PROPERTY_X86_UINT32_VALID (1U << 31)
-
#define GNU_PROPERTY_X86_FEATURE_1_IBT (1U << 0)
#define GNU_PROPERTY_X86_FEATURE_1_SHSTK (1U << 1)