mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
494ff188f8
commit
c9778ec302
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue