This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/2] elf: Update GNU_PROPERTY_X86_XXX macros
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Thu, 8 Nov 2018 12:13:38 -0800
- Subject: [PATCH 0/2] elf: Update GNU_PROPERTY_X86_XXX macros
This set of patches updates GNU_PROPERTY_X86_XXX macros according to the
x86 program property in x86-64 psABI:
https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-property.pdf
The NT_GNU_PROPERTY_TYPE_0 note is used to describe features and
capabilities supported by ELF binaries. Consumers of ELF binaries can
consult the NT_GNU_PROPERTY_TYPE_0 note to make appropriate decisions.
If a consumer of ELF binaries ignores NT_GNU_PROPERTY_TYPE_0 note, nothing
is changed. The new GNU_PROPERTY_X86_UINT32_VALID bit is used by
_dl_process_cet_property_note to detect if the NT_GNU_PROPERTY_TYPE_0
note is generated by updated linkers so that it can stop checking for
invalid .note.gnu.property section.
H.J. Lu (2):
elf: Update GNU_PROPERTY_X86_XXX macros [BZ #23797]
x86/CET: Stop if the GNU_PROPERTY_X86_UINT32_VALID bit is set
elf/elf.h | 98 ++++++++++++++++++++++++++++++++-----------
sysdeps/x86/dl-prop.h | 6 +++
2 files changed, 79 insertions(+), 25 deletions(-)
--
2.19.1