Add missing TLSLE relocations for gold aarch64 backend.
authorJing Yu <jingyu@google.com>
Thu, 12 Feb 2015 19:22:25 +0000 (11:22 -0800)
committerJing Yu <jingyu@google.com>
Thu, 12 Feb 2015 22:51:57 +0000 (14:51 -0800)
commit1a920511af007e7476df68f87ff42ec8be80531d
treec7a4e264856e6be5943db8ded35f19872b29c129
parent013d031916a1f154054c3b2ccc2d35fa9ff5e397
Add missing TLSLE relocations for gold aarch64 backend.

gold/ChangeLog:
* aarch64-reloc.def (TLSLE_MOVW_TPREL_G2, TLSLE_MOVW_TPREL_G1,
TLSLE_MOVW_TPREL_G1_NC, TLSLE_MOVW_TPREL_G0, TLSLE_MOVW_TPREL_G0_NC,):
New relocation.
* aarch64.cc (Target_aarch64::Scan::local): Add cases for new
TLSLE_MOVW_* relocations.
(Target_aarch64::Scan::global): Likewise.
(Target_aarch64::Relocate::relocate): Likewise.
(Target_aarch64::Relocate::relocate_tls): Add cases and handlings
for new TLSLE_MOVW_* relocations.
gold/ChangeLog
gold/aarch64-reloc.def
gold/aarch64.cc