OSDN Git Service

Correct return value. Pointed out by psm.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Mon, 4 Jun 2007 22:16:54 +0000 (22:16 -0000)
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>
Mon, 4 Jun 2007 22:16:54 +0000 (22:16 -0000)
ldso/ldso/powerpc/elfinterp.c

index b48625a..8953e70 100644 (file)
@@ -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;