PR gold/12279
authorIan Lance Taylor <ian@airs.com>
Fri, 8 Jul 2011 23:49:11 +0000 (23:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 8 Jul 2011 23:49:11 +0000 (23:49 +0000)
commit62855347684cda4254e2b8f1f80ed95e18ab5b76
treeac7dc032f7360ae5b1af58c18bb26d0495c1dcc7
parent67181c72fbaad59e5793cf6bcb8d12d7d211c817
PR gold/12279
* resolve.cc (Symbol_table::should_override): Add fromtype
parameter.  Change all callers.  Give error when linking together
TLS and non-TLS symbol.
(Symbol_table::should_override_with_special): Add fromtype
parameter.  Change all callers.
* i386.cc (Target_i386::Relocate::relocate_tls): Don't crash if
there is no TLS segment if we have reported some errors.
* x86_64.cc (Target_x86_64::relocate_tls): Likewise.
gold/ChangeLog
gold/i386.cc
gold/resolve.cc
gold/symtab.cc
gold/symtab.h
gold/x86_64.cc