* powerpc.cc (class Track_tls): New.
authorAlan Modra <amodra@gmail.com>
Wed, 12 Dec 2012 08:09:41 +0000 (08:09 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 12 Dec 2012 08:09:41 +0000 (08:09 +0000)
commite3deeb9c3acc713e427d589e8cb771bc38e73987
tree429c2fa184461503aac33e9658160de4816098e0
parentd8f5a2749d0409237cb681bb47c4a625c410f238
* powerpc.cc (class Track_tls): New.
(class Relocate, class Scan): Inherit Track_tls.
(Target_powerpc::Scan::local, global): Track tls optimization
and avoid creating plt entry for __tls_get_addr if all uses
are optimized away.
(Target_powerpc::Relocate::relocate): Update to use Track_tls.
gold/ChangeLog
gold/powerpc.cc