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 /bfd/ChangeLog | |
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 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index aef8fe3..162c801 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,17 @@ 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. + +2015-10-02 Renlin Li <renlin.li@arm.com> + * elfnn-aarch64.c (aarch64_tls_transition_without_check): Add relax transitions for TLSDESC_ADD, TLSDESC_LDR, TLSDESC_OFF_G0_NC, TLSDESC_OFF_G1. |