* sparc.cc (class Target_sparc): Add has_got_section.
authorIan Lance Taylor <ian@airs.com>
Tue, 17 Mar 2009 07:19:10 +0000 (07:19 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 17 Mar 2009 07:19:10 +0000 (07:19 +0000)
commit9efe6174dc55b401321d1b53cdd04888e470b4c2
tree08e85c850522144a5948a43eb53ac277e5493e27
parent8c50070107224cdda510640738eca333f67409ee
* 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