diff options
author | Maksim Rayskiy <mrayskiy@broadcom.com> | 2011-04-15 10:25:40 -0700 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-04-18 08:44:16 +0200 |
commit | b228ddac5b221b7c474ed902bad124934e61a527 (patch) | |
tree | 09f1b235b60a802ce4b98a3807bc85de2f93c076 /libc/unistd/execvp.c | |
parent | f6450b67cc92027352367be299cc28dd29cd8486 (diff) |
MIPS LDSO: pass sym_ref parameter to _dl_find_hash() to support PROTECTED symbols
_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@broadcom.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/unistd/execvp.c')
0 files changed, 0 insertions, 0 deletions