]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/link: use versioned .TOC. symbols on AIX
authorCherry Zhang <cherryyz@google.com>
Fri, 13 Mar 2020 21:02:31 +0000 (17:02 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 16 Mar 2020 13:50:40 +0000 (13:50 +0000)
commit80702c7c3c6dfd4c48e1504e50e6cc0dcbdefade
treef7db4a94781ebd19c8ac43e03766bc86d0fd1a41
parent0e06775eebf6d357f604a55c803aab5cc8054e67
[dev.link] cmd/link: use versioned .TOC. symbols on AIX

I thought that only non-static symbols need TOC, but apparently
this is not true. We need to use versioned .TOC. symbols.

Partially fix AIX build. There is still another problem, but this
gets us a bit farther in make.bash.

Change-Id: I40ba4a4dd27da0fc6ab26e4a54ff76bd2930aef1
Reviewed-on: https://go-review.googlesource.com/c/go/+/223379
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ppc64/asm.go
src/cmd/link/internal/sym/symbols.go