From 8b62fced6ba2391a04d59c858097da8915ec3cb2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 26 Aug 2004 20:43:25 +0000 Subject: Only print debug stuff when asked --- ldso/ldso/mips/elfinterp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ldso') diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c index d86f60d77..37ef6a86c 100644 --- a/ldso/ldso/mips/elfinterp.c +++ b/ldso/ldso/mips/elfinterp.c @@ -278,7 +278,8 @@ void _dl_perform_mips_global_got_relocations(struct elf_resolve *tpnt) i = tpnt->mips_symtabno - tpnt->mips_gotsym; #if defined (__SUPPORT_LD_DEBUG__) - _dl_dprintf(2, "_dl_perform_mips_global_got_relocations for '%s'\n", tpnt->libname); + if(_dl_debug_reloc) + _dl_dprintf(2, "_dl_perform_mips_global_got_relocations for '%s'\n", tpnt->libname); #endif /* Relocate the global GOT entries for the object */ -- cgit v1.2.3