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

jocke at uclibc.org jocke at uclibc.org
Wed Nov 2 23:48:07 UTC 2005


Author: jocke
Date: 2005-11-02 15:48:06 -0800 (Wed, 02 Nov 2005)
New Revision: 12120

Log:
psm missed a spot :)


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 21:48:56 UTC (rev 12119)
+++ trunk/uClibc/ldso/ldso/i386/elfinterp.c	2005-11-02 23:48:06 UTC (rev 12120)
@@ -191,10 +191,8 @@
 		 * might have been intentional.  We should not be linking local
 		 * symbols here, so all bases should be covered.
 		 */
-		if (unlikely(!symbol_addr && ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_WEAK)) {
-			_dl_dprintf(2, "%s: can't resolve symbol '%s'\n", _dl_progname, symname);
-			_dl_exit(1);
-		};
+		if (unlikely(!symbol_addr && ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_WEAK))
+			return 1;
 	}
 
 #if defined (__SUPPORT_LD_DEBUG__)
@@ -233,7 +231,7 @@
 			}
 			break;
 		default:
-			return -1;	/* Calls _dl_exit(1). */
+			return -1;
 	}
 
 #if defined (__SUPPORT_LD_DEBUG__)
@@ -273,7 +271,7 @@
 			*reloc_addr += (unsigned long)tpnt->loadaddr;
 			break;
 		default:
-			return -1;	/* Calls _dl_exit(1). */
+			return -1;
 	}
 
 #if defined (__SUPPORT_LD_DEBUG__)




More information about the uClibc-cvs mailing list