go/src/cmd
Clément Chigot 3f9efe7500 cmd/link: fix XCOFF sections
XCOFF files can't have multiples text or data sections. The name
of each type section must be .text, .data and .bss.

This commit also updates cmd/internal/objfile/xcoff.go to retrieve Go
sections using runtime symbols.

Change-Id: Ib6315f19dad2d154a4531fc6508e7cbd8bc94743
Reviewed-on: https://go-review.googlesource.com/c/151037
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-11-26 23:51:21 +00:00
..
addr2line cmd/addr2line: defer closing objfile 2018-11-05 16:42:57 +00:00
api cmd/api: explicit tagKey with GOOS and GOARCH 2018-10-05 17:53:43 +00:00
asm cmd/asm: rename -symabis to -gensymabis 2018-11-16 21:57:50 +00:00
buildid
cgo cmd/cgo: recognized untyped Go constants as untyped constants 2018-11-16 23:30:19 +00:00
compile cmd/compile: initialize sparse slice literals dynamically 2018-11-26 22:50:48 +00:00
cover cmd/cover: fix off-by-one error in TestCoverHTML 2018-08-22 06:54:03 +00:00
dist cmd/asm: rename -symabis to -gensymabis 2018-11-16 21:57:50 +00:00
doc cmd/doc: allow -all to apply to individual items 2018-10-31 00:33:31 +00:00
fix all: use "reports whether" consistently in the few places that didn't 2018-11-02 22:47:58 +00:00
go cmd/compile: remove CLOBBERDEAD experiment 2018-11-26 21:04:38 +00:00
gofmt all: use strings.ReplaceAll and bytes.ReplaceAll where applicable 2018-09-26 22:14:25 +00:00
internal cmd/link: fix XCOFF sections 2018-11-26 23:51:21 +00:00
link cmd/link: fix XCOFF sections 2018-11-26 23:51:21 +00:00
nm cmd: add XCOFF objfile and adapt cmd/nm tests 2018-10-31 13:47:42 +00:00
objdump cmd/objdump: defer closing the file after opening 2018-08-21 02:45:00 +00:00
pack
pprof cmd/pprof: disable readline UI support for TERM=dumb 2018-07-11 01:08:56 +00:00
test2json
trace cmd/trace: revert internal/traceparser 2018-11-22 02:59:55 +00:00
vendor cmd/vendor: eliminate vet-lite 2018-11-19 17:33:37 +00:00
vet cmd/go: improve go vet documentation 2018-11-19 15:20:54 +00:00