mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
all: move cmd/internal/xcoff to internal/xcoff
This commit moves cmd/internal/xcoff package to internal/xcoff because it will be needed to add XCOFF support in go/internal/gccgoimporter. Change-Id: Id12df0c438fb7db4a6a458fc1478480851bf7771 Reviewed-on: https://go-review.googlesource.com/c/152719 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
033d09493d
commit
e256afff51
|
@ -37,9 +37,6 @@ go src=..
|
|||
buildid
|
||||
testdata
|
||||
+
|
||||
xcoff
|
||||
testdata
|
||||
+
|
||||
gofmt
|
||||
gofmt.go
|
||||
gofmt_test.go
|
||||
|
@ -157,6 +154,9 @@ go src=..
|
|||
trace
|
||||
testdata
|
||||
+
|
||||
xcoff
|
||||
testdata
|
||||
+
|
||||
io
|
||||
+
|
||||
mime
|
||||
|
|
|
@ -9,7 +9,6 @@ package main
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"cmd/internal/xcoff"
|
||||
"debug/dwarf"
|
||||
"debug/elf"
|
||||
"debug/macho"
|
||||
|
@ -21,6 +20,7 @@ import (
|
|||
"go/ast"
|
||||
"go/parser"
|
||||
"go/token"
|
||||
"internal/xcoff"
|
||||
"math"
|
||||
"os"
|
||||
"strconv"
|
||||
|
|
|
@ -6,7 +6,6 @@ package main
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"cmd/internal/xcoff"
|
||||
"debug/elf"
|
||||
"debug/macho"
|
||||
"debug/pe"
|
||||
|
@ -14,6 +13,7 @@ import (
|
|||
"go/ast"
|
||||
"go/printer"
|
||||
"go/token"
|
||||
"internal/xcoff"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
package ssa_test
|
||||
|
||||
import (
|
||||
"cmd/internal/xcoff"
|
||||
"debug/dwarf"
|
||||
"debug/elf"
|
||||
"debug/macho"
|
||||
"debug/pe"
|
||||
"fmt"
|
||||
"internal/testenv"
|
||||
"internal/xcoff"
|
||||
"io"
|
||||
"runtime"
|
||||
"testing"
|
||||
|
|
2
src/cmd/dist/buildtool.go
vendored
2
src/cmd/dist/buildtool.go
vendored
|
@ -65,7 +65,6 @@ var bootstrapDirs = []string{
|
|||
"cmd/internal/obj/wasm",
|
||||
"cmd/internal/src",
|
||||
"cmd/internal/sys",
|
||||
"cmd/internal/xcoff",
|
||||
"cmd/link",
|
||||
"cmd/link/internal/amd64",
|
||||
"cmd/link/internal/arm",
|
||||
|
@ -90,6 +89,7 @@ var bootstrapDirs = []string{
|
|||
"debug/elf",
|
||||
"debug/macho",
|
||||
"debug/pe",
|
||||
"internal/xcoff",
|
||||
"math/big",
|
||||
"math/bits",
|
||||
"sort",
|
||||
|
|
|
@ -6,9 +6,9 @@ package buildid
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"cmd/internal/xcoff"
|
||||
"debug/elf"
|
||||
"fmt"
|
||||
"internal/xcoff"
|
||||
"io"
|
||||
"os"
|
||||
"strconv"
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
package objfile
|
||||
|
||||
import (
|
||||
"cmd/internal/xcoff"
|
||||
"debug/dwarf"
|
||||
"fmt"
|
||||
"internal/xcoff"
|
||||
"io"
|
||||
"unicode"
|
||||
)
|
||||
|
|
|
@ -9,10 +9,10 @@ import (
|
|||
"cmd/internal/bio"
|
||||
"cmd/internal/objabi"
|
||||
"cmd/internal/sys"
|
||||
"cmd/internal/xcoff"
|
||||
"cmd/link/internal/sym"
|
||||
"errors"
|
||||
"fmt"
|
||||
"internal/xcoff"
|
||||
)
|
||||
|
||||
// ldSection is an XCOFF section with its symbols.
|
||||
|
|
|
@ -64,7 +64,7 @@ func TestNonGoExecs(t *testing.T) {
|
|||
"debug/pe/testdata/gcc-386-mingw-exec",
|
||||
"debug/plan9obj/testdata/amd64-plan9-exec",
|
||||
"debug/plan9obj/testdata/386-plan9-exec",
|
||||
"cmd/internal/xcoff/testdata/gcc-ppc64-aix-dwarf2-exec",
|
||||
"internal/xcoff/testdata/gcc-ppc64-aix-dwarf2-exec",
|
||||
}
|
||||
for _, f := range testfiles {
|
||||
exepath := filepath.Join(runtime.GOROOT(), "src", f)
|
||||
|
|
|
@ -273,6 +273,7 @@ var pkgDeps = map[string][]string{
|
|||
"internal/goroot": {"L4", "OS"},
|
||||
"internal/singleflight": {"sync"},
|
||||
"internal/trace": {"L4", "OS", "container/heap"},
|
||||
"internal/xcoff": {"L4", "OS", "debug/dwarf"},
|
||||
"math/big": {"L4"},
|
||||
"mime": {"L4", "OS", "syscall", "internal/syscall/windows/registry"},
|
||||
"mime/quotedprintable": {"L4"},
|
||||
|
|
Loading…
Reference in a new issue