[PATCH 0/2] elf: Update GNU_PROPERTY_X86_XXX macros
H.J. Lu
hjl.tools@gmail.com
Thu Nov 8 20:13:00 GMT 2018
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
More information about the Libc-alpha
mailing list