]> granicus.if.org Git - musl/commitdiff
add missing x86 relocs to elf.h
authorSzabolcs Nagy <nsz@port70.net>
Wed, 20 Apr 2016 11:19:45 +0000 (13:19 +0200)
committerRich Felker <dalias@aerifal.cx>
Sun, 3 Jul 2016 20:15:12 +0000 (16:15 -0400)
see
https://sourceware.org/ml/libc-alpha/2016-01/msg00822.html

include/elf.h

index 2d57dfe694b22913762773debc67f3192b66ef20..e3edbccce82d4c2999e5956dbb379d74f980044f 100644 (file)
@@ -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