projects
/
musl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b7ed97
)
elf.h: add .note.gnu.property related definitions
author
Szabolcs Nagy
<nsz@port70.net>
Wed, 9 Sep 2020 07:25:52 +0000
(07:25 +0000)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 9 Sep 2020 21:22:02 +0000
(17:22 -0400)
On x86 and aarch64 GNU properties may be used to mark ELF objects.
include/elf.h
patch
|
blob
|
history
diff --git
a/include/elf.h
b/include/elf.h
index
549f92c
..
b5e7bef
100644
(file)
--- a/
include/elf.h
+++ b/
include/elf.h
@@
-603,6
+603,7
@@
typedef struct {
#define PT_GNU_EH_FRAME 0x6474e550
#define PT_GNU_STACK 0x6474e551
#define PT_GNU_RELRO 0x6474e552
+#define PT_GNU_PROPERTY 0x6474e553
#define PT_LOSUNW 0x6ffffffa
#define PT_SUNWBSS 0x6ffffffa
#define PT_SUNWSTACK 0x6ffffffb
@@
-1085,6
+1086,7
@@
typedef struct {
#define NT_GNU_BUILD_ID 3
#define NT_GNU_GOLD_VERSION 4
+#define NT_GNU_PROPERTY_TYPE_0 5