OSDN Git Service

Only print debug stuff when asked
authorEric Andersen <andersen@codepoet.org>
Thu, 26 Aug 2004 20:43:25 +0000 (20:43 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 26 Aug 2004 20:43:25 +0000 (20:43 -0000)
ldso/ldso/mips/elfinterp.c

index d86f60d..37ef6a8 100644 (file)
@@ -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 */