]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/fips: mark R_ADDRPOWR_GOT as a pcrel relocation
authorPaul E. Murphy <murp@ibm.com>
Thu, 14 Nov 2024 21:25:33 +0000 (15:25 -0600)
committerGopher Robot <gobot@golang.org>
Thu, 14 Nov 2024 22:29:26 +0000 (22:29 +0000)
commitf99f5da18fdebe5ce73839604541f17f4e2bfd88
tree8aa76b7248ecb08867be839511e50ee6503617e4
parent3d61de41a28b310fedc345d76320829bd08146b3
cmd/internal/obj/fips: mark R_ADDRPOWR_GOT as a pcrel relocation

It's actually a TOC relative relocation, but those are also accepted
as pcrel relocations here too. This fixes compilation on GOPPC64 <= power9.

Change-Id: I235125a76f59ab26c6c753540cfaeb398f9c105d
Reviewed-on: https://go-review.googlesource.com/c/go/+/628157
Auto-Submit: Paul Murphy <murp@ibm.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/internal/obj/fips.go