headers/system: add ELF TLS related constants

This commit is contained in:
Pawel Dziepak
2014-05-04 02:40:04 +02:00
parent bc472ab8f9
commit 828ea2c47d
2 changed files with 3 additions and 0 deletions
@@ -18,6 +18,8 @@
#define R_386_RELATIVE 8 /* add load address of shared object */
#define R_386_GOTOFF 9 /* add GOT relative symbol address */
#define R_386_GOTPC 10 /* add PC relative GOT table address */
#define R_386_TLS_DTPMOD32 35
#define R_386_TLS_DTPOFF32 36
#ifdef _BOOT_MODE
# include "../x86_64/arch_elf.h"
+1
View File
@@ -139,6 +139,7 @@
#define PT_NOTE 4
#define PT_SHLIB 5
#define PT_PHDR 6
#define PT_TLS 7
#define PT_STACK 0x6474e551
#define PT_LOPROC 0x70000000