diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-04-26 22:47:53 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-04-26 22:47:53 +0200 |
commit | fc137e7d0263a0fe908ca1a150e34a9c8b9902d4 (patch) | |
tree | f9f6768228235f4712466d65edeb0b745d904833 /lib | |
parent | c05511262096681c39691ec5c3fbe30797ba7c4a (diff) | |
download | dynld-fc137e7d0263a0fe908ca1a150e34a9c8b9902d4.tar.gz dynld-fc137e7d0263a0fe908ca1a150e34a9c8b9902d4.zip |
add check for PT_TLS phdr
Diffstat (limited to 'lib')
-rw-r--r-- | lib/include/elf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/include/elf.h b/lib/include/elf.h index 7a2e597..0317859 100644 --- a/lib/include/elf.h +++ b/lib/include/elf.h @@ -60,6 +60,7 @@ typedef struct { #define PT_NOTE 4 /* Location of auxiliary information */ #define PT_SHLIB 5 /* Reserved, but unspecified semantic */ #define PT_PHDR 6 /* Location & size of program headers itself */ +#define PT_TLS 7 /* Thread local storage */ #define PT_GNU_EH_FRAME 0x6474e550 /* [x86-64] stack unwinding tables */ #define PT_LOPROC 0x70000000 |