cmd/link/internal/ld: include table of contents of c-archive output.

Change-Id: If11621985c0a5a1f2133cdc974f37fd944b93e5e
Reviewed-on: https://go-review.googlesource.com/10808
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Hyang-Ah (Hana) Kim 2015-06-08 14:22:17 -07:00 committed by Hyang-Ah Hana Kim
parent 494ff188f8
commit c9778ec302

View file

@ -877,7 +877,7 @@ func archive() {
}
os.Remove(outfile)
argv := []string{"ar", "-q", "-c", outfile}
argv := []string{"ar", "-q", "-c", "-s", outfile}
argv = append(argv, hostobjCopy()...)
argv = append(argv, fmt.Sprintf("%s/go.o", tmpdir))