summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-06-04 22:16:54 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-06-04 22:16:54 +0000
commita35c1f1a2851f6f8cd36dc9ad04a8d57523aa40e (patch)
tree52a15629a6e92c9ddcb8beb08b1bac14c21c996a
parent7bb0258ff93df6193986a536c3c0caca262a13bd (diff)
Correct return value. Pointed out by psm.
-rw-r--r--ldso/ldso/powerpc/elfinterp.c2
1 files changed, 1 insertions, 1 deletions
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;