summaryrefslogtreecommitdiff
path: root/include/elf.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2016-07-03 22:13:44 +0200
committerRich Felker <dalias@aerifal.cx>2016-07-03 16:15:10 -0400
commit49eb322425bb990ec4cf57578a730fc0d2b8afee (patch)
tree189976389911bf1f3965d5ec4b850ebeaab5afa6 /include/elf.h
parentb921e0fd1fc9840fdfc6dde27dc7453047437f0f (diff)
downloadmusl-49eb322425bb990ec4cf57578a730fc0d2b8afee.tar.gz
musl-49eb322425bb990ec4cf57578a730fc0d2b8afee.tar.bz2
musl-49eb322425bb990ec4cf57578a730fc0d2b8afee.tar.xz
musl-49eb322425bb990ec4cf57578a730fc0d2b8afee.zip
update elf.h with new aarch64 relocs
add ilp32 related relocs and alternative names for a few macros following https://sourceware.org/ml/libc-alpha/2014-11/msg00455.html
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h
index 1bfe0168..795b71df 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -2105,8 +2105,17 @@ typedef Elf32_Addr Elf32_Conflict;
#define SHT_ARM_PREEMPTMAP (SHT_LOPROC + 2)
#define SHT_ARM_ATTRIBUTES (SHT_LOPROC + 3)
-
#define R_AARCH64_NONE 0
+#define R_AARCH64_P32_ABS32 1
+#define R_AARCH64_P32_COPY 180
+#define R_AARCH64_P32_GLOB_DAT 181
+#define R_AARCH64_P32_JUMP_SLOT 182
+#define R_AARCH64_P32_RELATIVE 183
+#define R_AARCH64_P32_TLS_DTPMOD 184
+#define R_AARCH64_P32_TLS_DTPREL 185
+#define R_AARCH64_P32_TLS_TPREL 186
+#define R_AARCH64_P32_TLSDESC 187
+#define R_AARCH64_P32_IRELATIVE 188
#define R_AARCH64_ABS64 257
#define R_AARCH64_ABS32 258
#define R_AARCH64_ABS16 259
@@ -2224,8 +2233,11 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_AARCH64_GLOB_DAT 1025
#define R_AARCH64_JUMP_SLOT 1026
#define R_AARCH64_RELATIVE 1027
+#define R_AARCH64_TLS_DTPMOD 1028
#define R_AARCH64_TLS_DTPMOD64 1028
+#define R_AARCH64_TLS_DTPREL 1029
#define R_AARCH64_TLS_DTPREL64 1029
+#define R_AARCH64_TLS_TPREL 1030
#define R_AARCH64_TLS_TPREL64 1030
#define R_AARCH64_TLSDESC 1031