diff options
author | Jing Yu <jingyu@google.com> | 2015-03-30 14:06:12 -0700 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2015-03-30 14:11:48 -0700 |
commit | 6b0ad2ebf6024419c84f35552f4eb55aa0b23195 (patch) | |
tree | 0fcd98625c2646f0577f449f46bb9a1b57fc5213 /gold/ChangeLog | |
parent | 5675acd9d4a62c4d402da7a436d810b29832d0e0 (diff) | |
download | gdb-6b0ad2ebf6024419c84f35552f4eb55aa0b23195.zip gdb-6b0ad2ebf6024419c84f35552f4eb55aa0b23195.tar.gz gdb-6b0ad2ebf6024419c84f35552f4eb55aa0b23195.tar.bz2 |
Support AARCH64_TLSLD_ADD_DTPREL_* relocations.
Also Change _TLS_MODULE_BASE_. Always let it point to the start
of TLS segment.
2015-03-28 Jing Yu <jingyu@google.com>
* aarch64-reloc.def: New TLSLD_ADD_DTPREL_HI12,
TLSLD_ADD_DTPREL_LO12_NC.
* aarch64.cc (Target_aarch64::define_tls_base_symbol): Always
let _TLS_MODULE_BASE_ point to the start of tls segment.
(Target_aarch64::optimize_tls_reloc): Add cases for
R_AARCH64_TLSLD_ADD_DTPREL_HI12 and
R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC.
(Target_aarch64::Scan::local): Likewise.
(Target_aarch64::Scan::global): Likewise.
(Target_aarch64::Relocate::relocate): Likewise.
(Target_aarch64::Relocate::relocate_tls): Likewise. And remove
subtracting tls segment size from symbol value for
TLSLD_*_DTPREL relocations.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 39e025e..57d500c 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,19 @@ +2015-03-30 Jing Yu <jingyu@google.com> + + * aarch64-reloc.def: New TLSLD_ADD_DTPREL_HI12, + TLSLD_ADD_DTPREL_LO12_NC. + * aarch64.cc (Target_aarch64::define_tls_base_symbol): Always let + _TLS_MODULE_BASE_ point to the start of tls segment. + (Target_aarch64::optimize_tls_reloc): Add cases for + R_AARCH64_TLSLD_ADD_DTPREL_HI12 and + R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC. + (Target_aarch64::Scan::local): Likewise. + (Target_aarch64::Scan::global): Likewise. + (Target_aarch64::Relocate::relocate): Likewise. + (Target_aarch64::Relocate::relocate_tls): Likewise. And remove + subtracting tls segment size from symbol value for TLSLD_*_DTPREL + relocations. + 2015-03-27 Rafael Ávila de Espíndola <rafael.espindola@gmail.com> * merge.cc (Object_merge_map::add_mapping): call |