Moved DEBUG conditional where it belonged to remove DEBUG code out of
authorNate Willams <nate@FreeBSD.org>
Thu, 2 Dec 1993 05:09:52 +0000 (05:09 +0000)
committerNate Willams <nate@FreeBSD.org>
Thu, 2 Dec 1993 05:09:52 +0000 (05:09 +0000)
default compilation.

gnu/usr.bin/ld/ld.c

index 5b93e9e..26f231f 100644 (file)
@@ -32,7 +32,7 @@ static char sccsid[] = "@(#)ld.c      6.10 (Berkeley) 5/22/91";
    Set, indirect, and warning symbol features added by Randy Smith. */
 
 /*
    Set, indirect, and warning symbol features added by Randy Smith. */
 
 /*
- *     $Id: ld.c,v 1.10 1993/11/22 19:04:40 jkh Exp $
+ *     $Id: ld.c,v 1.13 1993/12/02 00:56:35 jkh Exp $
  */
    
 /* Define how to initialize system-dependent header fields.  */
  */
    
 /* Define how to initialize system-dependent header fields.  */
@@ -2111,13 +2111,13 @@ write_header ()
        if (relocatable_output)
                nsyms += set_symbol_count;
 
        if (relocatable_output)
                nsyms += set_symbol_count;
 
+#ifdef DEBUG
 printf("global symbols %d (defined %d, undefined %d), locals: %d, \
 debug symbols: %d, set_symbols %d, aliases %d --> nsyms %d\n",
        global_sym_count,
        defined_global_sym_count, undefined_global_sym_count,
        local_sym_count, debugger_sym_count,
        set_symbol_count, global_alias_count, nsyms);
 printf("global symbols %d (defined %d, undefined %d), locals: %d, \
 debug symbols: %d, set_symbols %d, aliases %d --> nsyms %d\n",
        global_sym_count,
        defined_global_sym_count, undefined_global_sym_count,
        local_sym_count, debugger_sym_count,
        set_symbol_count, global_alias_count, nsyms);
-#ifdef DEBUG
 #endif
 
        outheader.a_syms = nsyms * sizeof (struct nlist);
 #endif
 
        outheader.a_syms = nsyms * sizeof (struct nlist);