|
From: Ivo R. <iv...@iv...> - 2017-09-22 08:33:23
|
2017-09-22 7:24 GMT+02:00 John Reiser <jr...@bi...>: > What is the purpose of the bits DF_1_INTERPOSE and DF_1_INITFIRST that are > set in > the DT_FLAGS_1 word of the Dynamic section of files > $PREFIX/lib/valgrind/vgpreload_$TOOL-$ARCH-linux.so > for which the ultimate source is: > $ grep -e -z, Makefile* > Makefile.all.am:PRELOAD_LDFLAGS_COMMON_LINUX = -nodefaultlibs -shared > -Wl,-z,interpose,-z,initfirst > Makefile.all.am:PRELOAD_LDFLAGS_COMMON_SOLARIS = -nodefaultlibs -shared > -Wl,-z,interpose,-z,initfirst > Makefile.tool.am:TOOL_LDFLAGS_ARM_LINUX += -Wl,-z,noexecstack > > Which particular symbols are those flags designed to affect? I can only add that Solaris followed Linux lead here. I tried to remove the -z flags on Solaris and did not observe problems... I. |