Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2018 10:22:02 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Julian Elischer <julian@FreeBSD.ORG>
Cc:        Charlie Li <ml@vishwin.info>, Konstantin Belousov <kostikbel@gmail.com>, svn-src-head@freebsd.org, toolchain@freebsd.org, current@freebsd.org
Subject:   Re: svn commit: r339898 - head/lib/libc/amd64/sys
Message-ID:  <38169F22-F99D-4F47-9C21-A8C82D44E700@FreeBSD.org>
In-Reply-To: <c4e42162-708b-4151-c6f6-a6c8b623c699@freebsd.org>
References:  <201810300011.w9U0BUui038857@repo.freebsd.org> <a2d14762-d6f9-4c3e-b3d3-efb7dcb2640f@vishwin.info> <20181101160406.GA60233__23941.7825396687$1541088368$gmane$org@spindle.one-eyed-alien.net> <ae15161f-0728-d208-12a2-08a22fcbc50b@vishwin.info> <fdda06af-d189-b9b0-d2d5-26bcf2c6395a@vishwin.info> <20181103152936.GQ5335@kib.kiev.ua> <f8be07cd-f5eb-989c-44f1-ddcd60841411@vishwin.info> <c4e42162-708b-4151-c6f6-a6c8b623c699@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 4 Nov 2018, at 08:43, Julian Elischer <julian@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCW966OgAKCRCwXqMKLiCW
o+u8AJ9iSQOO+bA4097obCAXwlkQ7nkh9QCdEbl4GrpQAWjKlu3s3BTtrji9dqE=
=0hnj
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38169F22-F99D-4F47-9C21-A8C82D44E700>