summaryrefslogtreecommitdiff
path: root/ldso/ldso/arc/elfinterp.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-12-27 09:34:40 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-01-14 18:31:49 +0100
commit43a672393627a4b21ebca5e9bf64f93b6ada7c25 (patch)
tree3ad66b1ae0d5d3d19176f8fdc2ac15df4f6b911b /ldso/ldso/arc/elfinterp.c
parentae0bcade2ae104331974563c92fe62cf6ed7c975 (diff)
ldso: do not resolve relocations for debug, dig them up when debugging
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'ldso/ldso/arc/elfinterp.c')
-rw-r--r--ldso/ldso/arc/elfinterp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ldso/ldso/arc/elfinterp.c b/ldso/ldso/arc/elfinterp.c
index 2f0cf7f66..1b5b65115 100644
--- a/ldso/ldso/arc/elfinterp.c
+++ b/ldso/ldso/arc/elfinterp.c
@@ -262,13 +262,8 @@ static int _dl_parse(struct elf_resolve *tpnt, struct r_scope_elem *scope,
if (unlikely(res != 0)) {
if (res < 0) {
int reloc_type = ELF_R_TYPE(rpnt->r_info);
-#if defined __SUPPORT_LD_DEBUG__
- _dl_dprintf(2, "can't handle reloc type %s\n ",
- _dl_reltypes(reloc_type));
-#else
_dl_dprintf(2, "can't handle reloc type %x\n",
reloc_type);
-#endif
_dl_exit(-res);
} else {
_dl_dprintf(2, "can't resolve symbol\n");