diff options
author | Filippo Arcidiacono <filippo.arcidiacono@st.com> | 2011-11-23 11:50:55 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-11-23 16:12:09 +0100 |
commit | 9b42da7d0558884e2a3cc9a8674ccfc752369610 (patch) | |
tree | ce1e1dd236af048d5283c73e415b93cd4009eb8e /libpthread/linuxthreads.old_db/td_thr_dbresume.c | |
parent | 117a32a63b837730cc97b0a233ab46e9abc6c7a7 (diff) |
libdl: fix size parameter when unmap library in dlclose
Fix size parameter when unmap a library by means of dlclose, by
taking into account the p_vaddr of first PT_LOAD segment, so it works
also for prelinked shared objects.
Unmapping of dlopen shared libraries is broken since
94cc6edb78a12655c0602a246fa1cbdc8c6d0ad9
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/linuxthreads.old_db/td_thr_dbresume.c')
0 files changed, 0 insertions, 0 deletions