diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-30 01:35:18 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-30 01:35:18 +0000 |
| commit | c82f7be400838c99fdbf7635610f799a1154ccdd (patch) | |
| tree | ce891790d7bec6eee16341ce43e8fd9784b76b47 | |
| parent | 6e46869a9c0c9f5e31378247e5835cd0b3301c96 (diff) | |
| download | uClibc-alpine-c82f7be400838c99fdbf7635610f799a1154ccdd.tar.bz2 uClibc-alpine-c82f7be400838c99fdbf7635610f799a1154ccdd.tar.xz | |
Half fix bug reported by Oleg.
| -rw-r--r-- | ldso/ldso/mips/elfinterp.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c index c9b9be65a..17effffb3 100644 --- a/ldso/ldso/mips/elfinterp.c +++ b/ldso/ldso/mips/elfinterp.c @@ -55,8 +55,8 @@ unsigned long __dl_runtime_resolve(unsigned long sym_index, 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 @@ int _dl_parse_relocation_information(struct dyn_elf *xpnt, 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); } |
