summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-07-07 09:50:17 -0700
committerKhem Raj <raj.khem@gmail.com>2011-07-07 09:50:17 -0700
commit1537893ad3e5196facdfcbdbdd4223293edfc46d (patch)
treeb10d3f02c5e0f170fa641f809e3f9805be8c910a /ldso
parentf87898ca4a7d4b7171779c06ff1f4848efeee431 (diff)
x86_64/elfinterp.c: Protect missed debug _dl_printf with __SUPPORT_LD_DEBUG__
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/x86_64/elfinterp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ldso/ldso/x86_64/elfinterp.c b/ldso/ldso/x86_64/elfinterp.c
index dd9479987..c099fd6f4 100644
--- a/ldso/ldso/x86_64/elfinterp.c
+++ b/ldso/ldso/x86_64/elfinterp.c
@@ -266,8 +266,11 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct r_scope_elem *scope,
_dl_memcpy((char *)reloc_addr,
(char *)symbol_addr,
sym_ref.sym->st_size);
- } else
+ }
+#if defined (__SUPPORT_LD_DEBUG__)
+ else
_dl_dprintf(_dl_debug_file, "no symbol_addr to copy !?\n");
+#endif
break;
default: