Y
Hacker News
new
|
ask
|
show
|
jobs
by
aleden
1103 days ago
IFunc relocations are how glibc dynamically chooses the best memcpy routine to use at runtime based on the CPU.
see
https://github.com/bminor/glibc/blob/glibc-2.31/sysdeps/x86_...
1 comments
Findecanor
1103 days ago
Here's a article that describes how to use
function
multi-versioning
and
indirect functions
(ifunc) with GCC and GNU tools:
https://lwn.net/Articles/691932/
link
https://lwn.net/Articles/691932/