OSDN Git Service

tests:libdl: add a new test for symbol scope issue in dlclose
authorFilippo ARCIDIACONO <filippo.arcidiacono@st.com>
Mon, 23 Jan 2012 16:01:58 +0000 (17:01 +0100)
committerCarmelo Amoroso <carmelo.amoroso@st.com>
Tue, 7 Feb 2012 16:11:47 +0000 (17:11 +0100)
commitac33828db194ddd8dc112439cf0d1d935e4e1452
tree30ed7a63a428c242c4036c586c61b26eef0a0af1
parentcf068ce38bc17230fd60adb10b4cf70ead7e7cd0
tests:libdl: add a new test for symbol scope issue in dlclose

Test case to trigger an issue raised by the new symbol scope design,
that was erroneously removing local symbol scope from the global one
too early while dl-closing a shared library.
Based on original test-case by Khem Raj

Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Reported-by: Khem Raj <raj.khem@gmail.com>
test/dlopen/Makefile.in
test/dlopen/libA.c [new file with mode: 0644]
test/dlopen/libB.c [new file with mode: 0644]
test/dlopen/libC.c [new file with mode: 0644]
test/dlopen/testscope.c [new file with mode: 0644]