]> granicus.if.org Git - clang/commitdiff
Update ifunc attribute support documentation
authorEd Maste <emaste@freebsd.org>
Sun, 30 Sep 2018 15:08:18 +0000 (15:08 +0000)
committerEd Maste <emaste@freebsd.org>
Sun, 30 Sep 2018 15:08:18 +0000 (15:08 +0000)
Previously we documented GNU binutils and glibc versions required for
ifunc support, but our own lld linker and FreeBSD's rtld also support
ifuncs.

Differential Revision: https://reviews.llvm.org/D52696

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343408 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/AttrDocs.td

index aaa1935e0d7256c3cb1739ff44aff2edc76d3262..f2ecdfda26e7c1ef31661fe35517eb1317241ea8 100644 (file)
@@ -3370,7 +3370,7 @@ The symbol name of the resolver function is given in quotes.  A function with th
 
 The ``ifunc`` attribute may only be used on a function declaration.  A function declaration with an ``ifunc`` attribute is considered to be a definition of the declared entity.  The entity must not have weak linkage; for example, in C++, it cannot be applied to a declaration if a definition at that location would be considered inline.
 
-Not all targets support this attribute.  ELF targets support this attribute when using binutils v2.20.1 or higher and glibc v2.11.1 or higher.  Non-ELF targets currently do not support this attribute.
+Not all targets support this attribute. ELF target support depends on both the linker and runtime linker, and is available in at least lld 4.0 and later, binutils 2.20.1 and later, glibc v2.11.1 and later, and FreeBSD 9.1 and later. Non-ELF targets currently do not support this attribute.
   }];
 }