[BFD][AARCH64]Create GOT section for TLSLE_MOVW_TPREL_G(1, 1_NC, 2).
authorRenlin Li <renlin.li@arm.com>
Fri, 2 Oct 2015 16:02:53 +0000 (17:02 +0100)
committerRenlin Li <renlin.li@arm.com>
Fri, 2 Oct 2015 16:56:09 +0000 (17:56 +0100)
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.

bfd/ChangeLog
bfd/elfnn-aarch64.c

index 7a9ba59c43a762f31e8004915faf9a060ad84cc7..ecf5d56c70f77b5166adc9197bb0a332f937790d 100644 (file)
@@ -1,3 +1,8 @@
+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
index 2bbdf65097da88ce9c94ba26152dc03eceeb2768..d71a76f0b01e5f5aa0231c1accd19961de65fee0 100644 (file)
@@ -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;