Disable generation of STT_GNU_IFUNC symbols
Evgeny Gavrin
evgeny.gavrin@hotmail.com
Wed Jul 10 17:19:00 GMT 2013
Is there any way manually disable generation of IFUNC symbols through GCC parameters?
I found number of in-code conditions to check if IFUNC is supported, but didn't found the way to force them.
defaults.h hase the following code:
112 #ifndef IFUNC_ASM_TYPE
113 #define IFUNC_ASM_TYPE "gnu_indirect_function"
114 #endif
Also I found the following in configure.ac:
2290 # gnu_indirect_function type is an extension proposed at
2291 # http://groups.google/com/group/generic-abi/files. It allows dynamic runtime
2292 # selection of function implementation
2293 AC_ARG_ENABLE(gnu-indirect-function,
How can I ensure that binaries compiled with GCC won't have IFUNC symbols? What's the proper way?
Use gnu-indirect-function flag on pre-configuration stage?
/*
With optimism,
Evgeny Gavrin
email : evgeny.gavrin@hotmail.com
*/
More information about the Gcc
mailing list