summaryrefslogtreecommitdiff
path: root/src/cmd/ld/go.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-04-02 17:56:23 -0700
committerRuss Cox <rsc@golang.org>2009-04-02 17:56:23 -0700
commitd9c3a4096bb7a3bd66ffcad18f6026b41524b729 (patch)
treed839ade1362a1f90071c113e2b6890526784998e /src/cmd/ld/go.c
parent24d769dde4a5013206b37ca83621c6b3e62de89c (diff)
downloadgolang-d9c3a4096bb7a3bd66ffcad18f6026b41524b729.tar.gz
turn gc of unused data/code back on in loaders.
turned it off while debugging 8 runtime problem, checked in the change accidentally. R=r DELTA=4 (0 added, 0 deleted, 4 changed) OCL=27040 CL=27046
Diffstat (limited to 'src/cmd/ld/go.c')
-rw-r--r--src/cmd/ld/go.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/ld/go.c b/src/cmd/ld/go.c
index e8366e825..e1b7acdad 100644
--- a/src/cmd/ld/go.c
+++ b/src/cmd/ld/go.c
@@ -581,7 +581,7 @@ deadcode(void)
mark(lookup(INITENTRY, 0));
mark(lookup("sys·morestack", 0));
-// sweeplist(&firstp, &lastp);
-// sweeplist(&datap, &edatap);
+ sweeplist(&firstp, &lastp);
+ sweeplist(&datap, &edatap);
}