summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/sh/elfinterp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ldso/ldso/sh/elfinterp.c b/ldso/ldso/sh/elfinterp.c
index e13f50ba6..da4013fb2 100644
--- a/ldso/ldso/sh/elfinterp.c
+++ b/ldso/ldso/sh/elfinterp.c
@@ -186,8 +186,11 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct dyn_elf *scope,
_dl_dprintf(2, "%s: can't resolve symbol '%s'\n",
_dl_progname, strtab + symtab[symtab_index].st_name);
- /* Let the caller to handle the error: it may be non fatal if called from dlopen */
- return 1;
+ /*
+ * The caller should handle the error: undefined reference to weak symbols
+ * are not fatal.
+ */
+ return 1
}
}