Fix assertion failure relaxing TLS for position-independent executables.
authorJames Clarke <jrtc27@jrtc27.com>
Sat, 13 May 2017 15:01:15 +0000 (08:01 -0700)
committerCary Coutant <ccoutant@gmail.com>
Sat, 13 May 2017 15:01:15 +0000 (08:01 -0700)
commit67f46fed806465c005b15c97d33947f4c0abb25c
treeb9b0d5e927e3a8c9c150167075574d1631b16aff
parentadf3dde510088ef8dc46d04df05baf36adb0ed1e
Fix assertion failure relaxing TLS for position-independent executables.

gold/
PR gold/21444
* gold.cc (Target_sparc::Relocate::relocate_tls): Local
variables are final for position-independent executables. This
has to be consistent with Target_sparc::Scan::local otherwise
they will disagree as to whether local-exec is used.
gold/ChangeLog
gold/sparc.cc