[uClibc-cvs] CVS update of uClibc/ldso/ldso/mips (elfinterp.c)

Erik Andersen andersen at codepoet.org
Thu Aug 26 20:43:26 UTC 2004


    Date: Thursday, August 26, 2004 @ 14:43:26
  Author: andersen
    Path: /var/cvs/uClibc/ldso/ldso/mips

Modified: elfinterp.c (1.21 -> 1.22)

Only print debug stuff when asked


Index: uClibc/ldso/ldso/mips/elfinterp.c
diff -u uClibc/ldso/ldso/mips/elfinterp.c:1.21 uClibc/ldso/ldso/mips/elfinterp.c:1.22
--- uClibc/ldso/ldso/mips/elfinterp.c:1.21	Thu Aug 26 12:36:23 2004
+++ uClibc/ldso/ldso/mips/elfinterp.c	Thu Aug 26 14:43:25 2004
@@ -278,7 +278,8 @@
 		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 */



More information about the uClibc-cvs mailing list