]> Cypherpunks repositories - gostls13.git/commit
cmd/go: look for __go_buildinfo section when looking for Mach-O version
authorJay Conrod <jayconrod@google.com>
Tue, 6 Aug 2019 17:12:23 +0000 (13:12 -0400)
committerJay Conrod <jayconrod@google.com>
Tue, 6 Aug 2019 18:00:31 +0000 (18:00 +0000)
commit46f99ce7ea97d11b0a1a079da8dda0f51df2a2d2
treec520b5d18ca62023f964467007578211e1e3a177
parent8e82624e691387eed2261e6c34decb27348f4685
cmd/go: look for __go_buildinfo section when looking for Mach-O version

This mirrors the ELF fix in CL 188957. TestScript/version failed on
darwin after that change.

Fixes #31861

Change-Id: I4ce953ebec8dd5fa47e26d373c59d7e290b75a34
Reviewed-on: https://go-review.googlesource.com/c/go/+/189159
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/internal/version/exe.go