[git commit future] MIPS LDSO: pass sym_ref parameter to _dl_find_hash() to support PROTECTED symbols

Maksim Rayskiy mrayskiy at broadcom.com
Thu Apr 21 23:28:44 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=b228ddac5b221b7c474ed902bad124934e61a527
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

_dl_find_hash() relies on sym_ref parameter to check if the looked-up symbol
is protected. The code fixes a case when _dl_perform_mips_global_got_relocations()
was calling _dl_find_hash() without providing sym_ref parameter.
The bug was causing hangs if a library exporting non-protected symbol was earlier in
link order than library with the same symbol declared as protected.

Signed-off-by: Maksim Rayskiy <mrayskiy at broadcom.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>

Patch is too large, so refusing to show it


More information about the uClibc-cvs mailing list