]> Cypherpunks repositories - gostls13.git/commit
reflect, runtime, runtime/cgo: use ppc64 asm constant for fixed frame size
authorMichael Hudson-Doyle <michael.hudson@canonical.com>
Thu, 8 Oct 2015 09:34:29 +0000 (22:34 +1300)
committerMichael Hudson-Doyle <michael.hudson@canonical.com>
Sun, 18 Oct 2015 23:15:26 +0000 (23:15 +0000)
commitb8f8969fbd91e8c6a1a6e523be91a99f92d0f809
tree544eb63477abb53b28ed5a1aeb275361a913a49a
parent97055dc1f16ef430b85fb6f8d2bd07a2695afa69
reflect, runtime, runtime/cgo: use ppc64 asm constant for fixed frame size

Shared libraries on ppc64le will require a larger minimum stack frame (because
the ABI mandates that the TOC pointer is available at 24(R1)). Part 3 of that
is using a #define in the ppc64 assembly to refer to the size of the fixed
part of the stack (finding all these took me about a week!).

Change-Id: I50f22fe1c47af1ec59da1bd7ea8f84a4750df9b7
Reviewed-on: https://go-review.googlesource.com/15525
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/build.go
src/reflect/asm_ppc64x.s
src/runtime/asm_ppc64x.h [new file with mode: 0644]
src/runtime/asm_ppc64x.s
src/runtime/cgo/asm_ppc64x.s
src/runtime/sys_linux_ppc64x.s