Skip to content
Snippets Groups Projects
Commit 082ab53e authored by Felix Fietkau's avatar Felix Fietkau
Browse files

uClibc: fix issues with libpthread vs libc link order on mips

SVN-Revision: 26702
parent 83de49ae
No related branches found
No related tags found
No related merge requests found
--- a/ldso/ldso/mips/elfinterp.c
+++ b/ldso/ldso/mips/elfinterp.c
@@ -378,8 +378,9 @@ void _dl_perform_mips_global_got_relocat
*got_entry += (unsigned long) tpnt->loadaddr;
}
else {
+ struct symbol_ref sym_ref = { sym, NULL };
*got_entry = (unsigned long) _dl_find_hash(strtab +
- sym->st_name, tpnt->symbol_scope, tpnt, ELF_RTYPE_CLASS_PLT, NULL);
+ sym->st_name, tpnt->symbol_scope, tpnt, ELF_RTYPE_CLASS_PLT, &sym_ref);
}
got_entry++;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment