]> Cypherpunks repositories - gostls13.git/commit
cmd/go, misc/cgo: skip test if no .edata
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 12 Jun 2021 10:34:40 +0000 (12:34 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sun, 13 Jun 2021 08:17:17 +0000 (08:17 +0000)
commit24cff0f0444793be81062684c478a3f7ca955499
tree5b7b86a48d843e83cb1292251822eacdf2a5dc52
parent67b1b6a2e3a405e3e0b5c6a76f702b2a6071c1f0
cmd/go, misc/cgo: skip test if no .edata

Clang does not produce binaries with an .edata section, even when it
exports symbols properly, so just skip this binutils-specific test for
that case. Later we can rewrite these tests entirely to do something
more robust.

Updates #46719.

Change-Id: I864b3c2d91e66800c55454ae11d4ab1623693d14
Reviewed-on: https://go-review.googlesource.com/c/go/+/327549
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testcshared/cshared_test.go
src/cmd/go/go_test.go