From Cary Coutant: Fix handling of versioned symbols, add some tests.

This commit is contained in:
Ian Lance Taylor
2007-12-21 23:31:19 +00:00
parent dc96b90a10
commit 99f8facac9
15 changed files with 501 additions and 107 deletions

View File

@ -1583,7 +1583,10 @@ Target_i386::Relocate::relocate(const Relocate_info<32, false>* relinfo,
case elfcpp::R_386_PLT32:
gold_assert(gsym == NULL
|| gsym->has_plt_offset()
|| gsym->final_value_is_known());
|| gsym->final_value_is_known()
|| (gsym->is_defined()
&& !gsym->is_from_dynobj()
&& !gsym->is_preemptible()));
Relocate_functions<32, false>::pcrel32(view, object, psymval, address);
break;