glibc/dlfcn
Mike Frysinger 3b813b2965 [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions
Since the dlopen funcs might invoke a constructor that calls a func
that is in the same compilation unit as the caller, we cannot mark
them as leaf funcs.

Similarly, dlclose might invoke a destructor that calls a func that
is in the same compilation unit as the caller.

URL: https://sourceware.org/bugzilla/show_bug.cgi?id=15897
Reportedy-by: Fabrice Bauzac <libnoon@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-08-27 15:47:13 -04:00
..
bug-atexit1-lib.c
bug-atexit1.c
bug-atexit2-lib.c
bug-atexit2.c
bug-atexit3-lib.cc
bug-atexit3.c
bug-dl-leaf-lib-cb.c [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions 2013-08-27 15:47:13 -04:00
bug-dl-leaf-lib.c [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions 2013-08-27 15:47:13 -04:00
bug-dl-leaf.c [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions 2013-08-27 15:47:13 -04:00
bug-dlopen1.c
bug-dlsym1-lib1.c
bug-dlsym1-lib2.c
bug-dlsym1.c
default.c Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
defaultmod1.c
defaultmod2.c
dladdr1.c
dladdr.c
dlclose.c
dlerror.c
dlfcn.c
dlfcn.h [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions 2013-08-27 15:47:13 -04:00
dlinfo.c
dlmopen.c
dlopen.c
dlopenold.c
dlsym.c
dlvsym.c
errmsg1.c
errmsg1mod.c
eval.c
failtest.c
failtestmod.c
glreflib1.c
glreflib2.c
glreflib3.c
glrefmain.c
Makefile [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions 2013-08-27 15:47:13 -04:00
modatexit.c
modcxaatexit.c
modstatic2.c
modstatic3.c [BZ #15022] Correct global-scope dlopen issues in static executables. 2013-06-28 16:22:20 +01:00
modstatic5.c Add a dlopen/getpagesize static executable test. 2013-06-28 17:43:07 +01:00
modstatic.c
sdladdr1.c
sdladdr.c
sdlclose.c
sdlerror.c
sdlinfo.c
sdlmopen.c
sdlopen.c
sdlsym.c
sdlvsym.c
tst-dladdr.c
tst-dlinfo.c
tstatexit.c
tstcxaatexit.c
tststatic2.c
tststatic3.c [BZ #15022] Correct global-scope dlopen issues in static executables. 2013-06-28 16:22:20 +01:00
tststatic4.c [BZ #15022] Correct global-scope dlopen issues in static executables. 2013-06-28 16:22:20 +01:00
tststatic5.c Add a dlopen/getpagesize static executable test. 2013-06-28 17:43:07 +01:00
tststatic.c
Versions