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

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 4 Nov 2018 10:22:02 +0100
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


Received on Sun Nov 04 2018 - 08:22:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC