summaryrefslogtreecommitdiff
path: root/ldso/ldso/mips/elfinterp.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-08-26 20:43:25 +0000
committerEric Andersen <andersen@codepoet.org>2004-08-26 20:43:25 +0000
commit8b62fced6ba2391a04d59c858097da8915ec3cb2 (patch)
tree18ec12ded3a769f5f2bf171aa8e7f4793cc23922 /ldso/ldso/mips/elfinterp.c
parent52a3a4d7babaf6880ead1f42a7c980a864663e30 (diff)
Only print debug stuff when asked
Diffstat (limited to 'ldso/ldso/mips/elfinterp.c')
-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 */