svn commit: trunk/uClibc/ldso/ldso/i386

psm at uclibc.org psm at uclibc.org
Wed Nov 2 14:22:33 UTC 2005


Author: psm
Date: 2005-11-02 06:22:31 -0800 (Wed, 02 Nov 2005)
New Revision: 12108

Log:
ldso powerpc changes ported to i386

Modified:
   trunk/uClibc/ldso/ldso/i386/elfinterp.c


Changeset:
Modified: trunk/uClibc/ldso/ldso/i386/elfinterp.c
===================================================================
--- trunk/uClibc/ldso/ldso/i386/elfinterp.c	2005-11-02 02:20:13 UTC (rev 12107)
+++ trunk/uClibc/ldso/ldso/i386/elfinterp.c	2005-11-02 14:22:31 UTC (rev 12108)
@@ -81,7 +81,7 @@
 	/* Get the address of the GOT entry. */
 	new_addr = _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);
 	}
 
@@ -147,15 +147,15 @@
 			int reloc_type = ELF32_R_TYPE(rpnt->r_info);
 
 #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(-res);
+			return res;
 		} else if (unlikely(res > 0)) {
-			_dl_dprintf(2, "can't resolve symbol\n");
+			_dl_dprintf(2, "can't resolve symbol in lib '%s'.\n", tpnt->libname);
 			return res;
 		}
 	}




More information about the uClibc-cvs mailing list