[BFD][AARCH64]Add TLSGD relaxation support under large memory model.
authorRenlin Li <renlin.li@arm.com>
Fri, 2 Oct 2015 16:22:36 +0000 (17:22 +0100)
committerRenlin Li <renlin.li@arm.com>
Fri, 2 Oct 2015 16:56:09 +0000 (17:56 +0100)
commitac734732481451698ee23990aaa64907e56dd082
tree22387bf9cc94b8cbb190e1b08e20ee4d954b2dd0
parentb7a944fea3a0194d81f6de4d958f3a1d2c6ad03a
[BFD][AARCH64]Add TLSGD relaxation support under large memory model.

bfd/

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

* elfnn-aarch64.c(IS_AARCH64_TLS_RELAX_RELOC):
Add relaxation support for TLSGD_MOVW_G0_NC and TLSGD_MOVW_G1.
(aarch64_tls_transition_without_check): Likewise
(elfNN_aarch64_tls_relax): Likwise.

ld/testsuite/

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

* ld-aarch64/aarch64-elf.exp: run new test
* ld-aarch64/tls-relax-large-gd-ie.d: New.
* ld-aarch64/tls-relax-large-gd-ie.s: New.
* ld-aarch64/tls-relax-large-gd-le.d: New.
* ld-aarch64/tls-relax-large-gd-le.s: New.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/tls-relax-large-gd-ie.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/tls-relax-large-gd-ie.s [new file with mode: 0644]
ld/testsuite/ld-aarch64/tls-relax-large-gd-le.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/tls-relax-large-gd-le.s [new file with mode: 0644]