Solving symbols from different shared objects?
Han Shen
shenhan@google.com
Mon Sep 26 22:06:00 GMT 2016
Thanks, that's great!
Han
On Mon, Sep 26, 2016 at 12:03 PM, Cary Coutant <ccoutant@gmail.com> wrote:
>> diff --git a/gold/symtab.cc b/gold/symtab.cc
>> index b31794a..cdeef7f 100644
>> --- a/gold/symtab.cc
>> +++ b/gold/symtab.cc
>> @@ -881,7 +881,7 @@
>> Symbol_table::define_default_version(Sized_symbol<size>* sym,
>> && sym->is_from_dynobj())
>> ;
>> else if (pdef->second->is_from_dynobj()
>> - && sym->is_from_dynobj()
>> + && sym->is_from_dynobj() && pdef->second->is_defined()
>> && pdef->second->object() != sym->object())
>> ;
>> else
>>
>> Do you think this is a a reasonable fix?
>
> Yes, this is actually the exact fix I was already testing. I'll go
> ahead and commit it.
>
> Thanks!
>
> -cary
--
Han Shen | Software Engineer | shenhan@google.com | +1-650-440-3330
More information about the Binutils
mailing list