svn commit: trunk/uClibc/ldso/ldso/powerpc

jocke at uclibc.org jocke at uclibc.org
Mon Jun 4 22:16:55 UTC 2007


Author: jocke
Date: 2007-06-04 15:16:54 -0700 (Mon, 04 Jun 2007)
New Revision: 18743

Log:
Correct return value. Pointed out by psm.


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


Changeset:
Modified: trunk/uClibc/ldso/ldso/powerpc/elfinterp.c
===================================================================
--- trunk/uClibc/ldso/ldso/powerpc/elfinterp.c	2007-06-04 21:03:51 UTC (rev 18742)
+++ trunk/uClibc/ldso/ldso/powerpc/elfinterp.c	2007-06-04 22:16:54 UTC (rev 18743)
@@ -213,7 +213,7 @@
 		 * here, so all bases should be covered.
 		 */
 		if (unlikely(!symbol_addr && ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_WEAK))
-			return -1;
+			return 1;
 	}
 #if defined (__SUPPORT_LD_DEBUG__)
 	old_val = *reloc_addr;




More information about the uClibc-cvs mailing list