]> Cypherpunks repositories - gostls13.git/commit
[dev.link] cmd/compile: make compiler-generated ppc64 TOC symbols static
authorThan McIntosh <thanm@google.com>
Wed, 8 Jul 2020 22:32:36 +0000 (18:32 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 8 Jul 2020 23:51:08 +0000 (23:51 +0000)
commit076dc2111bd15476e03ee39d153bdd5a1fb0a3e8
tree533595ccc98659089e24520abb3b816ef2ece13a
parent8aa036e9135f6f24ab6a5f250a4fba47a5d3a083
[dev.link] cmd/compile: make compiler-generated ppc64 TOC symbols static

Set the AttrStatic flag on compiler-emitted TOC symbols for ppc64; these
symbols don't need to go into the final symbol table in Go binaries.
This fixes a buglet introduced by CL 240539 that was causing failures
on the aix builder.

Change-Id: If8b63bcf6d2791f1ec5a0c371d2d11e806202fd2
Reviewed-on: https://go-review.googlesource.com/c/go/+/241637
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/internal/obj/ppc64/obj9.go