]> Cypherpunks repositories - gostls13.git/commit
runtime: fix _rt0_ppc64x_lib on aix
authorqmuntal <quimmuntal@gmail.com>
Wed, 8 Oct 2025 14:21:21 +0000 (16:21 +0200)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 20 Oct 2025 16:41:43 +0000 (09:41 -0700)
commit4ad5585c2c2dc3e4387c10c297669c57449156c9
tree24cb4f9b62c970e4199306cc586b878fe94d48f0
parenta5f55a441ef497d8e2a12610f4ec2bd32fdc04b2
runtime: fix _rt0_ppc64x_lib on aix

CL 706395 refactored the ppc64 library entry point and missed some
important aix-specific characteristics:

- _rt0_ppc64x_lib should account for the function descriptor when
getting the callback pointer.

- _rt0_ppc64x_lib should only call _cgo_sys_thread_create when
built as a c-archive.

Fixes #75801

Cq-Include-Trybots: luci.golang.try:gotip-linux-ppc64_power10
Change-Id: I343ca09d3b9688ffa585668a6c52f0ad519d6203
Reviewed-on: https://go-review.googlesource.com/c/go/+/710175
Reviewed-by: Paul Murphy <paumurph@redhat.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/runtime/asm_ppc64x.s