aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-04-20 13:19:45 +0200
committerRich Felker <dalias@aerifal.cx>2016-07-03 16:15:12 -0400
commitc3be411df7387a8c516b169baf91cf1cccef99b3 (patch)
tree4c768f76024bc07fdd1d14e1fc2125afcbe5abec /include
parent7c3b67234c859f98a6365d215c5362c73eed5765 (diff)
downloadmusl-c3be411df7387a8c516b169baf91cf1cccef99b3.zip
musl-c3be411df7387a8c516b169baf91cf1cccef99b3.tar.gz
musl-c3be411df7387a8c516b169baf91cf1cccef99b3.tar.bz2
add missing x86 relocs to elf.h
see https://sourceware.org/ml/libc-alpha/2016-01/msg00822.html
Diffstat (limited to 'include')
-rw-r--r--include/elf.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/elf.h b/include/elf.h
index 2d57dfe..e3edbcc 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