From 6ac83250f28be17add6324129cf5890ca9920701 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 31 Mar 2011 00:20:50 +0200 Subject: ldso: use _dl_strdup and _dl_dprintf only in ld-uClibc.so Add support for %p to _dl_dprintf for later corrections in debug messages. Disable _dl_debug_file if LD debugging is not enabled and change it's use to 2. The use of dprintf in elfinterp.c will spit out warnings, will be fixed in the reworked ldso. Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- ldso/ldso/arm/elfinterp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldso/ldso/arm') diff --git a/ldso/ldso/arm/elfinterp.c b/ldso/ldso/arm/elfinterp.c index b6dfae26b..c2f52b822 100644 --- a/ldso/ldso/arm/elfinterp.c +++ b/ldso/ldso/arm/elfinterp.c @@ -77,9 +77,9 @@ unsigned long _dl_linux_resolver(struct elf_resolve *tpnt, int reloc_entry) _dl_exit(1); } #if defined (__SUPPORT_LD_DEBUG__) -#if !defined __SUPPORT_LD_DEBUG_EARLY__ +# if !defined __SUPPORT_LD_DEBUG_EARLY__ if ((unsigned long) got_addr < 0x40000000) -#endif +# endif { if (_dl_debug_bindings) { -- cgit v1.2.3