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] |
+ @item STT_IFUNC + Mark the symbol as an indirect function when evaluated during reloc + processing. (This is only supported on Linux targeted assemblers).
This sentence is confusing. What reloc processing is meant here? Literally taken, this sentence says that the symbol is not marked right now, but at some later point in time, and that it involves evaluating the symbol.
"Mark the symbol as an indirect function. This has the same semantics as STT_FUNC except when the symbol is referenced by a relocation. In this case the symbol's value is not used in the relocation but instead the symbol is invoked as a function taking no arguments and the return value is used in the relocation. This also means that processing of the relocation must be delayed until run-time".
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |