svn commit: r339898 - head/lib/libc/amd64/sys

Dimitry Andric dim at FreeBSD.org
Sun Nov 4 09:22:09 UTC 2018


On 4 Nov 2018, at 08:43, Julian Elischer <julian at FreeBSD.ORG> wrote:
> 
> what's an ifunc?

This is a GNU extension, an "indirect function".  It allows you to
provide multiple different implementations of the same function, for
instance optimized for specific CPU types, and choose between them at
dynamic link time (e.g. at run time).

See the following for more information:

https://sourceware.org/glibc/wiki/GNU_IFUNC
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-ifunc-function-attribute

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20181104/3e9f1222/attachment.sig>


More information about the svn-src-head mailing list