From: Szabolcs Nagy Date: Wed, 20 Apr 2016 11:19:45 +0000 (+0200) Subject: add missing x86 relocs to elf.h X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c3be411df7387a8c516b169baf91cf1cccef99b3;p=musl add missing x86 relocs to elf.h see https://sourceware.org/ml/libc-alpha/2016-01/msg00822.html --- 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