svn commit: branches/uClibc-nptl/ldso/ldso/mips
sjhill at uclibc.org
sjhill at uclibc.org
Sun Oct 30 01:35:21 UTC 2005
Author: sjhill
Date: 2005-10-29 18:35:18 -0700 (Sat, 29 Oct 2005)
New Revision: 12074
Log:
Half fix bug reported by Oleg.
Modified:
branches/uClibc-nptl/ldso/ldso/mips/elfinterp.c
Changeset:
Modified: branches/uClibc-nptl/ldso/ldso/mips/elfinterp.c
===================================================================
--- branches/uClibc-nptl/ldso/ldso/mips/elfinterp.c 2005-10-30 01:14:23 UTC (rev 12073)
+++ branches/uClibc-nptl/ldso/ldso/mips/elfinterp.c 2005-10-30 01:35:18 UTC (rev 12074)
@@ -55,8 +55,8 @@
new_addr = (unsigned long) _dl_find_hash(symname,
tpnt->symbol_scope, tpnt, ELF_RTYPE_CLASS_PLT);
if (unlikely(!new_addr)) {
- _dl_dprintf (2, "%s: can't resolve symbol '%s'\n",
- _dl_progname, symname);
+ _dl_dprintf(2, "%s: can't resolve symbol '%s' in lib '%s'.\n",
+ _dl_progname, symname, tpnt->libname);
_dl_exit (1);
}
@@ -185,16 +185,15 @@
break;
default:
{
- int reloc_type = ELF32_R_TYPE(rpnt->r_info);
_dl_dprintf(2, "\n%s: ",_dl_progname);
if (symtab_index)
_dl_dprintf(2, "symbol '%s': ", strtab + symtab[symtab_index].st_name);
#if defined (__SUPPORT_LD_DEBUG__)
- _dl_dprintf(2, "can't handle reloc type %s\n ", _dl_reltypes(reloc_type));
+ _dl_dprintf(2, "can't handle reloc type '%s' in lib '%s'\n", _dl_reltypes(reloc_type), tpnt->libname);
#else
- _dl_dprintf(2, "can't handle reloc type %x\n", reloc_type);
+ _dl_dprintf(2, "can't handle reloc type %x in lib '%s'\n", reloc_type, tpnt->libname);
#endif
_dl_exit(1);
}
More information about the uClibc-cvs
mailing list