diff options
author | Renlin Li <renlin.li@arm.com> | 2015-10-02 17:48:31 +0100 |
---|---|---|
committer | Renlin Li <renlin.li@arm.com> | 2015-10-02 17:56:09 +0100 |
commit | 3ebe65c0ff9f8f76c9971b1cc078273298f0c693 (patch) | |
tree | 3e14846eadaaaee24362f7d6ba2ddde7be57dc2c /ld/testsuite/ld-aarch64/aarch64-elf.exp | |
parent | 0484b4549e9e2802e2f9db30a61f4b2a76332a8f (diff) | |
download | gdb-3ebe65c0ff9f8f76c9971b1cc078273298f0c693.zip gdb-3ebe65c0ff9f8f76c9971b1cc078273298f0c693.tar.gz gdb-3ebe65c0ff9f8f76c9971b1cc078273298f0c693.tar.bz2 |
[LD][AARCH64]Add TLSIE 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
TLSIE_MOVW_GOTTPREL_G1.
(aarch64_tls_transition_without_check): Add
TLSIE_MOVW_GOTTPREL_G1 to TLSLE_MOVW_TPREL_G2
transition for local symbol.
(elfNN_aarch64_tls_relax): Add a argument to pass tp offset.
Add TLSIE_MOVW_GOTTPREL_G1 relaxation.
(elfNN_aarch64_relocate_section): Call elfNN_aarch64_tls_relax
with new argument.
ld/testsuite/
2015-10-02 Renlin Li <renlin.li@arm.com>
* ld-aarch64/aarch64-elf.exp (tls-relax-large-le-ie): Run new test.
* ld-aarch64/tls-relax-large-ie-le.d: New.
* ld-aarch64/tls-relax-large-ie-le.s: New.
Diffstat (limited to 'ld/testsuite/ld-aarch64/aarch64-elf.exp')
-rw-r--r-- | ld/testsuite/ld-aarch64/aarch64-elf.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp index 5c55dc7..5d42710 100644 --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp +++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp @@ -185,6 +185,7 @@ run_dump_test "tls-relax-large-gd-ie" run_dump_test "tls-relax-large-gd-le" run_dump_test "tls-relax-large-desc-ie" run_dump_test "tls-relax-large-desc-le" +run_dump_test "tls-relax-large-ie-le" run_dump_test "tls-relax-gdesc-ie" run_dump_test "tls-relax-ie-le" run_dump_test "tls-relax-ld-le-small" |