* i386.cc (Target_i386::define_tls_base_symbol): New function.
authorCary Coutant <ccoutant@google.com>
Thu, 17 Apr 2008 02:00:54 +0000 (02:00 +0000)
committerCary Coutant <ccoutant@google.com>
Thu, 17 Apr 2008 02:00:54 +0000 (02:00 +0000)
commitedfbb029539d1e67751ca7dd7c6ff3cbe702a6c2
tree040f027806994825a8d677b455d77362de6ab65e
parent700b53b17a52448cb49f04a4e27d5f0130537924
* i386.cc (Target_i386::define_tls_base_symbol): New function.
(Target_i386::tls_base_symbol_defined_): New field.
(Target_i386::Scan::local): Define _TLS_MODULE_BASE_ symbol.
(Target_i386::Scan::global): Likewise.
* symtab.cc (sized_finalize_symbol): Add check for TLS symbol.
* x86_64.cc (Target_x86_64::define_tls_base_symbol): New function.
(Target_x86_64::tls_base_symbol_defined_): New field.
(Target_x86_64::Scan::local): Define _TLS_MODULE_BASE_ symbol.
(Target_x86_64::Scan::global): Likewise.
gold/ChangeLog
gold/i386.cc
gold/symtab.cc
gold/x86_64.cc