Skip to content

Commit 237d7e3

Browse files
committed
cmd/dist: use debug/pe directly for cmd/link
Delete vendored copy. Change-Id: I06e9d3b709553a1a8d06275e99bd8f617aac5788 Reviewed-on: https://go-review.googlesource.com/31011 Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 15040c1 commit 237d7e3

20 files changed

+10
-1196
lines changed

misc/nacl/testzip.proto

-5
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ go src=..
3636
gofmt_test.go
3737
testdata
3838
+
39-
link
40-
internal
41-
pe
42-
testdata
43-
+
4439
vendor
4540
golang.org
4641
x

src/cmd/dist/buildtool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ var bootstrapDirs = []string{
6060
"cmd/link/internal/arm64",
6161
"cmd/link/internal/ld",
6262
"cmd/link/internal/mips64",
63-
"cmd/link/internal/pe",
6463
"cmd/link/internal/ppc64",
6564
"cmd/link/internal/s390x",
6665
"cmd/link/internal/x86",
66+
"debug/pe",
6767
"math/big",
6868
}
6969

src/cmd/link/internal/ld/ldpe.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"cmd/internal/bio"
99
"cmd/internal/obj"
1010
"cmd/internal/sys"
11-
"cmd/link/internal/pe"
11+
"debug/pe"
1212
"errors"
1313
"fmt"
1414
"io"

src/cmd/link/internal/pe/file.go

-343
This file was deleted.

0 commit comments

Comments
 (0)