summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/mips/elfinterp.c3
1 files changed, 2 insertions, 1 deletions
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 */