On Wed, Jul 10, 2013 at 10:19 AM, Evgeny Gavrin <evgeny.gav...@hotmail.com> wrote: > Is there any way manually disable generation of IFUNC symbols through GCC > parameters?
Why do you want to do that? Also GCC does not output directly ifunc's at all, rather the person who write code uses ifuncs. Thanks, Andrew > > 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.gav...@hotmail.com > */