diff options
author | Filippo Arcidiacono <filippo.arcidiacono@st.com> | 2013-05-09 09:04:20 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2013-05-13 10:11:21 +0200 |
commit | 231e4a9b4b972662a6832f714a05525a3754892d (patch) | |
tree | d34b4d8d664ed55987fb8741cf282b2fffa87feb /test | |
parent | f74663a2e6e3395d8f7e83efc28799c85842bed1 (diff) |
libdl: fix dlopen implementation from statically linked application
Calling dlopen from statically linked application is actually broken,
because _dl_find_hash enters into an infinite loop when trying to
resolve symbols. In this case it doesn't need to extend the global
scope, it is readyto be used as it is, because _dl_loaded_modules already points
to the dlopened library.
The patch also fixesi a typo in __LDSO_LD_LIBRARY_PATH__ macro, that was
preventing to get the actual value of the LD_LIBRARY_PATH.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions