COMMITTED: Add support for STT_IFUNC
Tristan Gingold
gingold@adacore.com
Thu Dec 4 15:50:00 GMT 2008
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.
More information about the Binutils
mailing list