This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix handling of common symbols with plugins


On Wed, Sep 17, 2014 at 10:17 AM, Cary Coutant <ccoutant@google.com> wrote:
>> gold
>> 2014-09-09  Rafael Ãvila de EspÃndola <respindola@mozilla.com>
>>
>>         * plugin.cc (Sized_pluginobj::do_add_symbols): Ignore isym->size.
>>         * resolve.cc (Symbol_table::resolve): Don't override common symbols
>>         during the replacement phase.
>
> The gold patch looks good to me. Thanks!
>
>> include
>> 2014-09-09  Rafael Ãvila de EspÃndola <respindola@mozilla.com>
>>
>>         * plugin-api.h (ld_plugin_symbol): Note that size is ignored.
>
> This is OK if the ld patch is also approved.
>
>> ld
>> 2014-09-09  Rafael Ãvila de EspÃndola <respindola@mozilla.com>
>>
>>         * plugin.c (asymbol_from_plugin_symbol): Ignore ldsym->size.
>>         * testplug.c (parse_symdefstr): Ignore sym->size.
>
> Maybe HJ should look at this?
>

Can you add an ld testcase to ld/testsuite/ld-plugin/lto.exp?


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]