diff --git a/headers/private/system/arch/x86/arch_elf.h b/headers/private/system/arch/x86/arch_elf.h index 922ab095a7..a6b0737182 100644 --- a/headers/private/system/arch/x86/arch_elf.h +++ b/headers/private/system/arch/x86/arch_elf.h @@ -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" diff --git a/headers/private/system/elf_common.h b/headers/private/system/elf_common.h index 31eb0c0ecd..73a7743eff 100644 --- a/headers/private/system/elf_common.h +++ b/headers/private/system/elf_common.h @@ -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