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: COMMITTED: Add support for STT_IFUNC



On Dec 3, 2008, at 3:47 PM, Nick Clifton wrote:
 Run-time relocations against this symbol type are placed into a new
 section called .rel[a].ifunc.dyn which immediately follows the
 .rel[a].dyn section.  The idea here is to allow the dynamic linker
 to execute all of the normal dynamic relocations first, before it
 tries to execute any of the STT_IFUNC using dynamic relocs.  This is
 just in case the invoked STT_IFUNC function has any dependencies
 upon other symbols.

Just another question.
I haven't look at the implementation, but is a STT_IFUNC allowed to have relocations
against STT_IFUNC symbols ?


If not, this is must be checked at link time, otherwise the entries must be topologically ordered.
It is expected that STT_IFUNC symbols be in a solib ? (would be fun!)


Tristan.


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