OSDN Git Service

* sparc.cc (class Target_sparc): Add has_got_section.
authorian <ian>
Tue, 17 Mar 2009 07:19:10 +0000 (07:19 +0000)
committerian <ian>
Tue, 17 Mar 2009 07:19:10 +0000 (07:19 +0000)
commitcd5151232e25f64b751c3b9b24ac50e0471126d7
treef57621621e89e4d7a9684892e4c222af64ba8a90
parent97d6bf5799ca80a9e450ca3ed96e983eea700cb0
* sparc.cc (class Target_sparc): Add has_got_section.
(Target_sparc::Scan::global): If we see _GLOBAL_OFFSET_TABLE_,
make sure we have a GOT section.

* sparc.cc (optimize_tls_reloc): Recognize R_SPARC_TLS_IE_ADD.
(Target_sparc::Scan::local): Likewise.
(Target_sparc::Scan::global): Likewise.
(Target_sparc::Relocate::relocate): Likewise.
(Target_sparc::Relocate::relocate_tls): Likewise.
gold/ChangeLog
gold/sparc.cc