summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-09-29 12:59:45 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-09-29 12:59:45 +0000
commit9794acc88e9e0b352970c7c50ddbd6786ff59734 (patch)
tree57f33d11803e4b0d3ca6a09747b105a4fbc016cd /ldso
parent355a4056b1e327678dc108a783878d0289b808e9 (diff)
Fix comment.
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
}
}