]> Cypherpunks repositories - gostls13.git/commit
all: switch linux-ppc64 target to ELFv2 ABI
authorPaul Murphy <murp@redhat.com>
Wed, 7 Jan 2026 19:48:53 +0000 (13:48 -0600)
committerPaul Murphy <murp@redhat.com>
Fri, 30 Jan 2026 16:06:41 +0000 (08:06 -0800)
commit35c5deb1d43b245c19059d1532929ee087e44a84
treea0cbc862f9933c9b781b340eb8acef60d629f954
parentafae85307206cb56851c31652bd9ae45ba60c800
all: switch linux-ppc64 target to ELFv2 ABI

Go is only capable of producing internally linked, static binaries
on linux-ppc64. As such, binaries should run in either ELFv1 or
ELFv2 ppc64 userspaces today.

This opens the door to enabling cgo and external linking which
will require ELFv2 support and userspace, eventually.

Fixes #76244

Change-Id: I5ca15037cbe546f352e8693dcf14da51a308b8ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/734540
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/cmd/link/internal/ld/elf.go
src/runtime/asm_ppc64x.h
src/runtime/rt0_linux_ppc64.s [deleted file]
src/runtime/rt0_linux_ppc64x.s [moved from src/runtime/rt0_linux_ppc64le.s with 83% similarity]
src/runtime/sys_linux_ppc64x.s