[PATCH] PR ld/17550: Section groups (comdat/linkonce) create undefined symbols unnecessarily

H.J. Lu hjl.tools@gmail.com
Fri May 6 16:49:00 GMT 2016


On Thu, May 5, 2016 at 6:20 PM, Alan Modra <amodra@gmail.com> wrote:
> On Thu, May 05, 2016 at 06:00:54AM -0700, H.J. Lu wrote:
>> When a global symbol is defined in COMDAT group, we shouldn't leave an
>> undefined symbol in symbol table when the symbol section is discarded
>> unless there is a reference to the symbol outside of COMDAT group.
>>
>> OK for master?
>
> OK if you've tested this with our big list of targets.
>

This is what I checked in.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Strip-global-symbol-defined-in-discarded-section.patch
Type: text/x-patch
Size: 8305 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160506/10ed49e8/attachment.bin>


More information about the Binutils mailing list