]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/link: stop using ABI aliases if wrapper is enabled
authorCherry Zhang <cherryyz@google.com>
Fri, 5 Feb 2021 23:07:46 +0000 (18:07 -0500)
committerCherry Zhang <cherryyz@google.com>
Wed, 10 Feb 2021 15:40:37 +0000 (15:40 +0000)
commit59703d53e249db738363c3fab9143348ff9559ea
treeade3ae7f3488829507af970aec6b9b2cd83aa154
parent168d6a49a5ecbdd6a1eb039b2398c2821b3d3865
[dev.regabi] cmd/link: stop using ABI aliases if wrapper is enabled

If ABI wrappers are enabled, we should not see ABI aliases at
link time. Stop resolving them. One exception is shared linkage,
where we still use ABI aliases as we don't always know the ABI
for symbols from shared libraries.

Change-Id: Ia89a788094382adeb4c4ef9b0312aa6e8c2f79ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/290032
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Trust: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/loader/loader.go