]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj, runtime: add NOFRAME flag to suppress stack frame set up on ppc64x
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Thu, 8 Oct 2015 23:44:27 +0000 (12:44 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 18 Oct 2015 22:13:30 +0000 (22:13 +0000)
commit45c06b27a44a65c219a7445278b129c868332a6c
treea004227041b6834fb5a23bb6bee0f559f1d62415
parentd0c9b40964f1951d2684545f1a6df64be899d26d
cmd/internal/obj, runtime: add NOFRAME flag to suppress stack frame set up on ppc64x

Replace the confusing game where a frame size of $-8 would suppress the
implicit setting up of a stack frame with a nice explicit flag.

The code to set up the function prologue is still a little confusing but better
than it was.

Change-Id: I1d49278ff42c6bc734ebfb079998b32bc53f8d9a
Reviewed-on: https://go-review.googlesource.com/15670
Reviewed-by: Minux Ma <minux@golang.org>
14 files changed:
misc/cgo/test/issue9400/asm_ppc64x.s
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/internal/obj/ppc64/obj9.go
src/cmd/internal/obj/textflag.go
src/runtime/asm_ppc64x.s
src/runtime/atomic_ppc64x.s
src/runtime/cgo/asm_ppc64x.s
src/runtime/duff_ppc64x.s
src/runtime/memclr_ppc64x.s
src/runtime/memmove_ppc64x.s
src/runtime/mkduff.go
src/runtime/sys_linux_ppc64x.s
src/runtime/textflag.h
src/runtime/tls_ppc64x.s