[PATCH] PR ld/17975: Useless FILE entry in symbol table for linker generated symbols

H.J. Lu hjl.tools@gmail.com
Mon Feb 16 16:39:00 GMT 2015


On Mon, Feb 16, 2015 at 4:58 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Sun, Feb 15, 2015 at 10:42 PM, Alan Modra <amodra@gmail.com> wrote:
>> It turns out there is a complication in my proposal.  When emitting a
>> relocation against a local symbol, we need to know the index of the
>> symbol in the output file.  A similar difficulty occurs with group
>> signature local symbols.  Delaying output of locals means we don't
>> know their indices.  I think it would be possible to cope with this
>> but the amount of effort isn't worth the benefit.
>>
>> Go ahead with your patch.
>>
>
> Done.  I will update testscases for this change.  Please let me
> know if I miss any.
>

I checked in this.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-more-ld-testcases-after-PR-ld-17975-fix.patch
Type: text/x-patch
Size: 18769 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150216/91df02a9/attachment.bin>


More information about the Binutils mailing list