[PATCH]: Sparc STT_GNU_IFUNC support

David Miller davem@davemloft.net
Sat Feb 6 00:04:00 GMT 2010


From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Fri, 5 Feb 2010 16:02:32 -0800

> On Fri, Feb 5, 2010 at 3:42 PM, David Miller <davem@davemloft.net> wrote:
>> Implementation wise I took the same approach H. J. Liu took on i386,
> 
> My last name is Lu, not Liu :-(.

My apologies.

>> using a seperate hash table for handling local IFUNC symbols.
>> Everything, including emitting PLT entries, essentially "just works"
>> by running allocate_dynrelocs() over this new local hash table.
>>
>> This depends upon "[PATCH]: Sparc BFD cleanups and fixes."
>>
>> Ok to commit?
>>
> 
> You may use some functions in elf-ifunc.c.

They were overkill for my purposes.

I don't need the dyn reloc list handling, and the ifunc
section creation function creates many more sections than
are needed on Sparc.

Believe me, I did look at it :-)



More information about the Binutils mailing list