]> sourceware.org Git - glibc.git/commit
[BZ #15022] Correct global-scope dlopen issues in static executables.
authorMaciej W. Rozycki <macro@codesourcery.com>
Fri, 28 Jun 2013 15:20:26 +0000 (16:20 +0100)
committerMaciej W. Rozycki <macro@codesourcery.com>
Fri, 28 Jun 2013 15:22:20 +0000 (16:22 +0100)
commitf91f1c0fb89056995f1c9c6a06c361efdf5139e7
tree67db98c499e8dbd72bc5b49e654706d375384c0f
parented0257f7d3378ec4a72e297f0dcba5159f2dd138
[BZ #15022] Correct global-scope dlopen issues in static executables.

This change creates a link map in static executables to serve as the
global search list for dlopen.  It fixes a problem with the inability
to access the global symbol object and a crash on an attempt to map a
DSO into the global scope.  Some code that has become dead after the
addition of this link map is removed too and test cases are provided.
ChangeLog
NEWS
dlfcn/Makefile
dlfcn/modstatic3.c [new file with mode: 0644]
dlfcn/tststatic3.c [new file with mode: 0644]
dlfcn/tststatic4.c [new file with mode: 0644]
elf/dl-load.c
elf/dl-open.c
elf/dl-support.c
This page took 0.043428 seconds and 5 git commands to generate.