summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/ld/ld.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1993-12-02 05:09:52 +0000
committernate <nate@FreeBSD.org>1993-12-02 05:09:52 +0000
commitb95062ff6afa46cfb5c53584d831fa676165c2f4 (patch)
tree180ec5c82ac7d486fa33edd8fbacb922b8d1d81b /gnu/usr.bin/ld/ld.c
parent82cf8558b8d207529195d3a71d78bc7690c34b21 (diff)
downloadFreeBSD-src-b95062ff6afa46cfb5c53584d831fa676165c2f4.zip
FreeBSD-src-b95062ff6afa46cfb5c53584d831fa676165c2f4.tar.gz
Moved DEBUG conditional where it belonged to remove DEBUG code out of
default compilation.
Diffstat (limited to 'gnu/usr.bin/ld/ld.c')
-rw-r--r--gnu/usr.bin/ld/ld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/ld.c b/gnu/usr.bin/ld/ld.c
index 5b93e9e..26f231f 100644
--- a/gnu/usr.bin/ld/ld.c
+++ b/gnu/usr.bin/ld/ld.c
@@ -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. */
/*
- * $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. */
@@ -2111,13 +2111,13 @@ write_header ()
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);
-#ifdef DEBUG
#endif
outheader.a_syms = nsyms * sizeof (struct nlist);
OpenPOWER on IntegriCloud