diff --git a/xzre_code/elf_parse.c b/xzre_code/elf_parse.c index ee17ded..13658e2 100644 --- a/xzre_code/elf_parse.c +++ b/xzre_code/elf_parse.c @@ -6,6 +6,14 @@ #include #include +#ifndef DT_RELRSZ +#define DT_RELRSZ 35 /* Total size of RELR relative relocations */ +#endif + +#ifndef DT_RELR +#define DT_RELR 36 /* Address of RELR relative relocations */ +#endif + BOOL elf_parse(Elf64_Ehdr *ehdr, elf_info_t *elf_info){ if(!ehdr || !elf_info){ return FALSE;