]> git.ipfire.org Git - thirdparty/glibc.git/commit
[BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functions
authorMike Frysinger <vapier@gentoo.org>
Mon, 26 Aug 2013 04:21:26 +0000 (00:21 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 27 Aug 2013 19:47:13 +0000 (15:47 -0400)
commit3b813b29653a3ebfd78c2529127a9967d8f2857d
treebb6c6ae204f8d88666e501c7732c7bf6115b4761
parent7f9d00341057eb80b43fa83956b8d7798b4dabea
[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>
ChangeLog
NEWS
dlfcn/Makefile
dlfcn/bug-dl-leaf-lib-cb.c [new file with mode: 0644]
dlfcn/bug-dl-leaf-lib.c [new file with mode: 0644]
dlfcn/bug-dl-leaf.c [new file with mode: 0644]
dlfcn/dlfcn.h