[LD][AARCH64]Add BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.
authorRenlin Li <renlin.li@arm.com>
Fri, 2 Oct 2015 15:21:31 +0000 (16:21 +0100)
committerRenlin Li <renlin.li@arm.com>
Fri, 2 Oct 2015 16:56:08 +0000 (17:56 +0100)
commit94facae3374655816798d1d505b447f81db4759d
tree9efdfe44688c9c2360d8b9a4cfa0594781ec2a0a
parent1aa66fb1527c3c81fef2a39a3a3ec9d36f1cfdec
[LD][AARCH64]Add BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.

bfd/

2015-10-02  Renlin Li <renlin.li@arm.com>

* elfnn-aarch64.c (aarch64_reloc_got_type): Add
BFD_RELOC_AARCH64_TLSGD_MOVW_G1 support.
(elfNN_aarch64_final_link_relocate): Likewise.
(elfNN_aarch64_relocate_section): Likewise.
(elfNN_aarch64_gc_sweep_hook): Likewise.
(elfNN_aarch64_check_relocs): Likewise.
* elfxx-aarch64.c (_bfd_aarch64_elf_put_addend): Likewise.
(_bfd_aarch64_elf_resolve_relocation): Likewise.

ld/testsuite

2015-10-02  Renlin Li <renlin.li@arm.com>

* ld-aarch64/emit-relocs-515.d: New.
* ld-aarch64/emit-relocs-515.s: New.
* ld-aarch64/aarch64-elf.exp: Run new test.
bfd/ChangeLog
bfd/elfnn-aarch64.c
bfd/elfxx-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/emit-relocs-515.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/emit-relocs-515.s [new file with mode: 0644]