8 ms·
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-
by aleden 3y 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_64/multiarch/ifunc-memmove.h#L40 https://github.com/bminor/glibc/blob/glibc-2.31/sysdeps/x86_...
- Findecanor 3y agoHere'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/ https://lwn.net/Articles/691932/