]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ppc64: fix export of R_DWARFSECREF to ELF on ppc64
authorPaul E. Murphy <murp@ibm.com>
Thu, 4 May 2023 18:14:52 +0000 (13:14 -0500)
committerPaul Murphy <murp@ibm.com>
Tue, 9 May 2023 13:46:03 +0000 (13:46 +0000)
commitf3034bed728551eb3f5e1ce8d8f1e54829909a45
tree973217bae00ec29dfa867d8dc87e0d1cd1aa07b0
parentd8ab19b2f2d754e374af7fc643dac5224667310b
cmd/link/internal/ppc64: fix export of R_DWARFSECREF to ELF on ppc64

Today, external linking is not supported on any ppc64 ELF target, but
soon openbsd will be enabled with external linking support.

This relocation does not require additional endian specific fixups
like most other PPC64 Go relocation types.

I discovered this during an experiment to support external linking
on ppc64/linux.

Change-Id: I0b12b6172c7ba08df1c8cf024b4aa5e7ee76d0c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/492618
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/link/internal/ppc64/asm.go