From: Nick Clifton Date: Thu, 4 Dec 2008 08:53:39 +0000 (+0000) Subject: * doc/as.texinfo (Type): Reword description of STT_IFUNC type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4357ad342fdb2117fbfd6d2904d83b29acd23a78;p=binutils-gdb.git * doc/as.texinfo (Type): Reword description of STT_IFUNC type. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index c2abca58ad9..004a6200bdf 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2008-12-04 Nick Clifton + + * doc/as.texinfo (Type): Reword description of STT_IFUNC type. + 2008-12-03 Nick Clifton * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type. diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 5a655a5bfa1..a5d936beec0 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -6296,8 +6296,12 @@ Does not mark the symbol in any way. It is supported just for completeness. @item STT_IFUNC @itemx indirect_function -Mark the symbol as an indirect function when evaluated during reloc -processing. (This is only supported on Linux targeted assemblers). +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. (This is only supported on some targets). @end table Note: Some targets support extra types in addition to those listed above.