Commit 46b4f675 authored by David Crawshaw's avatar David Crawshaw

cmd/internal/ld: use usual flooding for c-archive

I said I removed this from cl/8711 in response to your comment, but
apparently I did not.

misc/cgo/testcarchive continues to pass on darwin/amd64.

Change-Id: I6410782f2a78bf117741628fb71cac56e289b590
Reviewed-on: https://go-review.googlesource.com/9010Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 5b72b8c7
......@@ -622,7 +622,7 @@ func deadcode() {
fmt.Fprintf(&Bso, "%5.2f deadcode\n", obj.Cputime())
}
if Buildmode == BuildmodeShared || Buildmode == BuildmodeCArchive {
if Buildmode == BuildmodeShared {
// Mark all symbols as reachable when building a
// shared library.
for s := Ctxt.Allsym; s != nil; s = s.Allsym {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment