aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRenlin Li <renlin.li@arm.com>2018-03-28 18:03:55 +0100
committerRenlin Li <renlin.li@arm.com>2018-03-28 18:03:55 +0100
commit84f1b9fb081372a726fd70dfd8258a707833caef (patch)
treef3fb203c6864d27bac6ed1bbddea99467b5d09b7 /include
parente82e6b2b19eb796fed161b1658de6d5f763c18de (diff)
downloadfsf-binutils-gdb-84f1b9fb081372a726fd70dfd8258a707833caef.zip
fsf-binutils-gdb-84f1b9fb081372a726fd70dfd8258a707833caef.tar.gz
fsf-binutils-gdb-84f1b9fb081372a726fd70dfd8258a707833caef.tar.bz2
[1/2][GAS][AARCH64]Add BFD_RELOC_AARCH64_TLSLE_LDST8/16/32/64_TPREL_LO12 support in GAS.
This patch adds the following relocation support into binutils gas. BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12, BFD_RELOC_AARCH64_TLSLE_LDST16_TPREL_LO12_NC, BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12, BFD_RELOC_AARCH64_TLSLE_LDST32_TPREL_LO12_NC, BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12, BFD_RELOC_AARCH64_TLSLE_LDST64_TPREL_LO12_NC, BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12, BFD_RELOC_AARCH64_TLSLE_LDST8_TPREL_LO12_NC. Those relocations includes both ip64 and ilp32 variant.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog13
-rw-r--r--include/elf/aarch64.h8
2 files changed, 21 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index f7f4655..167ba03 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,16 @@
+2018-03-28 Renlin Li <renlin.li@arm.com>
+
+ PR ld/22970
+ * elf/aarch64.h: Add relocation number for
+ R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12,
+ R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12_NC,
+ R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12,
+ R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12_NC,
+ R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12,
+ R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12_NC,
+ R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12,
+ R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12_NC.
+
2018-03-28 Nick Clifton <nickc@redhat.com>
PR 22988
diff --git a/include/elf/aarch64.h b/include/elf/aarch64.h
index 4900fc5..ea823a3 100644
--- a/include/elf/aarch64.h
+++ b/include/elf/aarch64.h
@@ -147,6 +147,14 @@ RELOC_NUMBER (R_AARCH64_P32_TLSLE_MOVW_TPREL_G0_NC, 108)
RELOC_NUMBER (R_AARCH64_P32_TLSLE_ADD_TPREL_HI12, 109)
RELOC_NUMBER (R_AARCH64_P32_TLSLE_ADD_TPREL_LO12, 110)
RELOC_NUMBER (R_AARCH64_P32_TLSLE_ADD_TPREL_LO12_NC, 111)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12, 112)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12_NC, 113)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12, 114)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12_NC, 115)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12, 116)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12_NC, 117)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12, 118)
+RELOC_NUMBER (R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12_NC, 119)
RELOC_NUMBER (R_AARCH64_P32_TLSDESC_LD_PREL19, 122)
RELOC_NUMBER (R_AARCH64_P32_TLSDESC_ADR_PREL21, 123)