aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorRenlin Li <renlin.li@arm.com>2015-10-02 17:02:53 +0100
committerRenlin Li <renlin.li@arm.com>2015-10-02 17:56:09 +0100
commitb7a944fea3a0194d81f6de4d958f3a1d2c6ad03a (patch)
tree956af3836dc97ebaaefa8a19cf6999aa58d91fe9 /bfd
parent3b957e5b074407e18782a9592754c732671df8ed (diff)
downloadgdb-b7a944fea3a0194d81f6de4d958f3a1d2c6ad03a.zip
gdb-b7a944fea3a0194d81f6de4d958f3a1d2c6ad03a.tar.gz
gdb-b7a944fea3a0194d81f6de4d958f3a1d2c6ad03a.tar.bz2
[BFD][AARCH64]Create GOT section for TLSLE_MOVW_TPREL_G(1, 1_NC, 2).
bfd/ 2015-10-02 Renlin Li <renlin.li@arm.com> * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Create GOT section for TLSLE_MOVW_TPREL_G(1, 1_NC, 2) relocation.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfnn-aarch64.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7a9ba59..ecf5d56 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2015-10-02 Renlin Li <renlin.li@arm.com>
+ * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Create GOT section
+ for TLSLE_MOVW_TPREL_G(1, 1_NC, 2) relocation.
+
+2015-10-02 Renlin Li <renlin.li@arm.com>
+
* reloc.c: Make AARCH64_TLSIE_MOVW_GOTTPREL_G1 and
AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC defined in alphabetical order.
* libbfd.h: Regenerate.
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index 2bbdf65..d71a76f 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -7054,6 +7054,9 @@ elfNN_aarch64_check_relocs (bfd *abfd, struct bfd_link_info *info,
case BFD_RELOC_AARCH64_TLSLD_ADD_LO12_NC:
case BFD_RELOC_AARCH64_TLSLD_ADR_PAGE21:
case BFD_RELOC_AARCH64_TLSLD_ADR_PREL21:
+ case BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1:
+ case BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC:
+ case BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2:
{
unsigned got_type;
unsigned old_got_type;