From a35c1f1a2851f6f8cd36dc9ad04a8d57523aa40e Mon Sep 17 00:00:00 2001 From: Joakim Tjernlund Date: Mon, 4 Jun 2007 22:16:54 +0000 Subject: Correct return value. Pointed out by psm. --- ldso/ldso/powerpc/elfinterp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldso/ldso/powerpc/elfinterp.c b/ldso/ldso/powerpc/elfinterp.c index b48625a37..8953e7059 100644 --- a/ldso/ldso/powerpc/elfinterp.c +++ b/ldso/ldso/powerpc/elfinterp.c @@ -213,7 +213,7 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct dyn_elf *scope, * 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; -- cgit v1.2.3