]> Cypherpunks repositories - gostls13.git/commit
runtime: cleanup PPC64/linux runtime.sigtramp
authorPaul E. Murphy <murp@ibm.com>
Mon, 13 Mar 2023 20:58:15 +0000 (15:58 -0500)
committerPaul Murphy <murp@ibm.com>
Mon, 3 Apr 2023 20:17:02 +0000 (20:17 +0000)
commitac571a388dce20068f6639067789b4fbac9c0e7d
treeb26cf0b9f509ac4c0d24d62ff70ce150f5facd4a
parent4ac638f4b7c49370a62db4e6232f2895d7bbda0d
runtime: cleanup PPC64/linux runtime.sigtramp

Add new helper macros to further simplify the transition from
the host's ABI to Go. Fortunately the same one should work for
all PPC64 targets.

Update the other site which uses these wrappers to further
consolidate. Also, update the call to runtime.sigtrampgo to
call the ABIInternal version directly.

Also, update the SAVE/RESTORE_VR macros to accept R0.

Change-Id: I0046176029e1e1b25838688e4b7bf57805b01bd4
Reviewed-on: https://go-review.googlesource.com/c/go/+/476297
Reviewed-by: Archana Ravindar <aravind5@in.ibm.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/cgo/abi_ppc64x.h
src/runtime/sys_linux_ppc64x.s