[git commit] x86_64/elfinterp.c: Protect missed debug _dl_printf with __SUPPORT_LD_DEBUG__
Khem Raj
raj.khem at gmail.com
Thu Jul 7 16:50:17 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=1537893ad3e5196facdfcbdbdd4223293edfc46d
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
ldso/ldso/x86_64/elfinterp.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/ldso/ldso/x86_64/elfinterp.c b/ldso/ldso/x86_64/elfinterp.c
index dd94799..c099fd6 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:
--
1.7.3.4
More information about the uClibc-cvs
mailing list