1
0
mirror of https://github.com/golang/go synced 2024-11-23 11:50:09 -07:00
go/src/cmd
Russ Cox 3315066f46 cmd/link: detect glibc vs musl ldso at link time
Doing the test at link time lets us distribute one Linux toolchain
that works on both glibc-based and musl-based Linux systems.
The old way built a toolchain that only ran on one or the other.

Fixes #54197.

Change-Id: Iaae8c274c78e1091eee828a720b49646be9bfffe
Reviewed-on: https://go-review.googlesource.com/c/go/+/420774
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
2022-08-08 21:12:57 +00:00
..
addr2line
api
asm all: clean up TODO after fixing issue 44505 2022-08-04 20:35:21 +00:00
buildid
cgo cmd/cgo: allow cgo to pass strings or []bytes bigger than 1<<30 2022-07-20 23:32:27 +00:00
compile cmd/compile: fix confusion with ANDCCconst in PPC64 rules 2022-08-08 20:15:55 +00:00
cover
dist cmd/dist: do not run on ppc64le 2022-08-05 19:51:08 +00:00
doc
fix
go go/build: add GO$GOARCH-based ToolTags 2022-08-08 14:39:20 +00:00
gofmt
internal all: use io.Seek* instead of deprecated os.SEEK_* 2022-08-08 17:01:54 +00:00
link cmd/link: detect glibc vs musl ldso at link time 2022-08-08 21:12:57 +00:00
nm cmd/nm: don't rely on an erroneous install target in tests 2022-07-11 19:01:02 +00:00
objdump
pack
pprof
test2json
trace internal/trace: don't report regions on system goroutines 2022-07-11 21:24:38 +00:00
vendor all: update vendored golang.org/x/{net,tools} for Go 1.20 development 2022-08-05 19:54:32 +00:00
vet
go.mod all: update vendored golang.org/x/{net,tools} for Go 1.20 development 2022-08-05 19:54:32 +00:00
go.sum all: update vendored golang.org/x/{net,tools} for Go 1.20 development 2022-08-05 19:54:32 +00:00
README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.