HomePhabricator

[LLD][ELF] Add support for PT_GNU_PROPERTY

Authored by peter.smith on Dec 2 2019, 10:34 AM.

Description

[LLD][ELF] Add support for PT_GNU_PROPERTY

The PT_GNU_PROPERTY program header describes the location of the
.note.gnu.property SHT_NOTES section. The linux kernel uses this program
header to find the .note.gnu.property section rather than parsing.
Executables that have properties that the kernel needs to act on that don't
have the PT_GNU_PROPERTY program header will not boot.

Differential Revision: https://reviews.llvm.org/D70961

Details

Committed
peter.smithDec 5 2019, 1:54 AM
Differential Revision
D70961: [LLD][ELF] add support for PT_GNU_PROPERTY
Parents
rG60d7e723e3ac: [clangd] Fix an incorrect comment, NFC.
Branches
Unknown
Tags
Unknown