svn commit: trunk/uClibc/ldso/ldso

carmelo at uclibc.org carmelo at uclibc.org
Tue Sep 23 15:07:44 UTC 2008


Author: carmelo
Date: 2008-09-23 08:07:43 -0700 (Tue, 23 Sep 2008)
New Revision: 23457

Log:
ldso: removed dead code.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>


Modified:
   trunk/uClibc/ldso/ldso/dl-elf.c


Changeset:
Modified: trunk/uClibc/ldso/ldso/dl-elf.c
===================================================================
--- trunk/uClibc/ldso/ldso/dl-elf.c	2008-09-22 21:34:24 UTC (rev 23456)
+++ trunk/uClibc/ldso/ldso/dl-elf.c	2008-09-23 15:07:43 UTC (rev 23457)
@@ -151,16 +151,6 @@
 	/* another bit of local storage */
 	mylibname = alloca(2050);
 
-	/* gcc inlines alloca using a single instruction adjusting
-	 * the stack pointer and no stack overflow check and thus
-	 * no NULL error return.  No point leaving in dead code... */
-#if 0
-	if (!path || !mylibname) {
-		_dl_dprintf(2, "Out of memory!\n");
-		_dl_exit(0);
-	}
-#endif
-
 	_dl_memcpy(path, path_list, done+1);
 
 	/* Unlike ldd.c, don't bother to eliminate double //s */




More information about the uClibc-cvs mailing list