mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 03:00:18 +02:00
80fd320787
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26702 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
478 B
Diff
14 lines
478 B
Diff
--- 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++;
|