]> Cypherpunks repositories - gostls13.git/commit
cmd/objdump: move armasm, x86asm into internal packages
authorRuss Cox <rsc@golang.org>
Tue, 30 Sep 2014 16:28:24 +0000 (12:28 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 30 Sep 2014 16:28:24 +0000 (12:28 -0400)
commitc75f81f0edd73d5f7d6528cec795b49c5d205c0c
tree80c02b8c705d6a5c4b264c19435d50f0d10216a5
parent7de0c315f68035456c764f6edea393bc1581dc80
cmd/objdump: move armasm, x86asm into internal packages

For Go 1.3 these external packages were collapsed into
large single-file implementations stored in the cmd/objdump
directory.

For Go 1.4 we want pprof to be able to link against them too,
so move them into cmd/internal, where they can be shared.

The new files are copied from the repo in the file path (rsc.io/...).
Those repos were code reviewed during development
(mainly by crawshaw and minux), because we knew the
main repo would use them.

Update #8798

LGTM=bradfitz
R=crawshaw, bradfitz
CC=golang-codereviews
https://golang.org/cl/153750044
33 files changed:
src/cmd/internal/rsc.io/arm/armasm/Makefile [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/decode.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/decode_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/ext_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/gnu.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/inst.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/objdump_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/objdumpext_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/plan9x.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/tables.go [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/testdata/Makefile [new file with mode: 0644]
src/cmd/internal/rsc.io/arm/armasm/testdata/decode.txt [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/Makefile [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/decode.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/decode_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/ext_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/gnu.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/inst.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/inst_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/intel.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/objdump_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/objdumpext_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/plan9ext_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/plan9x.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/plan9x_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/tables.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/testdata/Makefile [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/testdata/decode.txt [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/xed_test.go [new file with mode: 0644]
src/cmd/internal/rsc.io/x86/x86asm/xedext_test.go [new file with mode: 0644]
src/cmd/objdump/armasm.go [deleted file]
src/cmd/objdump/main.go
src/cmd/objdump/x86.go [deleted file]