]> Cypherpunks repositories - gostls13.git/commit
runtime,cmd/internal/obj/ppc64: cleanup ppc64le runtime.racecallbackthunk
authorPaul E. Murphy <murp@ibm.com>
Mon, 13 Mar 2023 22:02:15 +0000 (17:02 -0500)
committerPaul Murphy <murp@ibm.com>
Tue, 11 Apr 2023 13:17:25 +0000 (13:17 +0000)
commite78871ea07376e09673644633740b6e0fc08b370
tree1b7f6f7d42e62d602d31165ebefa5dab53785ac9
parentef82b4c94e10ea29acb90891d4ec8d4e7e892410
runtime,cmd/internal/obj/ppc64: cleanup ppc64le runtime.racecallbackthunk

Update to use the common macros to ensure all ELFv2 callee-save registers
are saved properly when transitioning from ELFv2 to Go calling/stack
conventions. Simplify the inlined Go function call, and remove the asm
hacks which inhibited implicit stack frame management.

Change-Id: Iee118a4069962a791436c6fe19370e1929404a8d
Reviewed-on: https://go-review.googlesource.com/c/go/+/479795
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/internal/obj/ppc64/obj9.go
src/runtime/race_ppc64le.s