]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: set morestack arg spilling and regabi prologue on
authorSrinivas Pokala <Pokala.Srinivas@ibm.com>
Tue, 11 Nov 2025 03:47:55 +0000 (04:47 +0100)
committerKeith Randall <khr@golang.org>
Mon, 24 Nov 2025 18:21:41 +0000 (10:21 -0800)
commit85e60800893df03c5b071f66fa2dde5e00fdf295
treedd1ad82bc2be84282d83f062c36d6e2168533b5c
parent24697419c54c046370c3431fb45842689c042984
cmd/internal/obj: set morestack arg spilling and regabi prologue on
s390x

This CL spill arg registers before calling morestack, unspill them
after morestack call. It also avoid clobbering the register that
could contain incoming argument values. Change registers on s390x to
avoid regABI arguments.

Update #40724

Change-Id: I67b20552410dd23ef0b86f14b9c5bfed9f9723a6
Reviewed-on: https://go-review.googlesource.com/c/go/+/719421
Reviewed-by: Vishwanatha HD <vishwanatha.hd@ibm.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/cmd/internal/obj/s390x/a.out.go
src/cmd/internal/obj/s390x/objz.go