1
0
mirror of https://github.com/golang/go synced 2024-11-17 16:14:42 -07:00

cmd/go: add -Wl,-Bsymbolic-functions to cgo flags whitelist

Closes #41199

Change-Id: Iab69358e8c39e6d2b2797c7ce750df63aa7e96b0
Reviewed-on: https://go-review.googlesource.com/c/go/+/252698
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Dan Kortschak 2020-09-03 08:27:34 +09:30 committed by Ian Lance Taylor
parent ef20f76b8b
commit 0e48c674f5

View File

@ -177,6 +177,7 @@ var validLinkerFlags = []*lazyregexp.Regexp{
re(`-Wl,-Bdynamic`),
re(`-Wl,-berok`),
re(`-Wl,-Bstatic`),
re(`-Wl,-Bsymbolic-functions`),
re(`-WL,-O([^@,\-][^,]*)?`),
re(`-Wl,-d[ny]`),
re(`-Wl,--disable-new-dtags`),