From c3be411df7387a8c516b169baf91cf1cccef99b3 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 20 Apr 2016 13:19:45 +0200 Subject: add missing x86 relocs to elf.h see https://sourceware.org/ml/libc-alpha/2016-01/msg00822.html --- include/elf.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'include/elf.h') diff --git a/include/elf.h b/include/elf.h index 2d57dfe6..e3edbccc 100644 --- a/include/elf.h +++ b/include/elf.h @@ -1045,7 +1045,8 @@ typedef struct { #define R_386_TLS_DESC_CALL 40 #define R_386_TLS_DESC 41 #define R_386_IRELATIVE 42 -#define R_386_NUM 43 +#define R_386_GOT32X 43 +#define R_386_NUM 44 @@ -2791,7 +2792,9 @@ enum #define R_X86_64_TLSDESC 36 #define R_X86_64_IRELATIVE 37 #define R_X86_64_RELATIVE64 38 -#define R_X86_64_NUM 39 +#define R_X86_64_GOTPCRELX 41 +#define R_X86_64_REX_GOTPCRELX 42 +#define R_X86_64_NUM 43 -- cgit v1.2.1