aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/as.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-12-04 08:53:39 +0000
committerNick Clifton <nickc@redhat.com>2008-12-04 08:53:39 +0000
commit4357ad342fdb2117fbfd6d2904d83b29acd23a78 (patch)
tree916b09e45d90500ea552f74f7591984c1e627e52 /gas/doc/as.texinfo
parent440e9cd2eac75c2fac320efbb4307247e7dab404 (diff)
downloadgdb-4357ad342fdb2117fbfd6d2904d83b29acd23a78.zip
gdb-4357ad342fdb2117fbfd6d2904d83b29acd23a78.tar.gz
gdb-4357ad342fdb2117fbfd6d2904d83b29acd23a78.tar.bz2
* doc/as.texinfo (Type): Reword description of STT_IFUNC type.
Diffstat (limited to 'gas/doc/as.texinfo')
-rw-r--r--gas/doc/as.texinfo8
1 files changed, 6 insertions, 2 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 5a655a5..a5d936b 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.