diff options
author | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2015-10-09 12:44:27 +1300 |
---|---|---|
committer | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2015-10-18 22:13:30 +0000 |
commit | 45c06b27a44a65c219a7445278b129c868332a6c (patch) | |
tree | a004227041b6834fb5a23bb6bee0f559f1d62415 /src/runtime/memmove_ppc64x.s | |
parent | d0c9b40964f1951d2684545f1a6df64be899d26d (diff) | |
download | go-45c06b27a44a65c219a7445278b129c868332a6c.tar.gz go-45c06b27a44a65c219a7445278b129c868332a6c.zip |
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>
Diffstat (limited to 'src/runtime/memmove_ppc64x.s')
-rw-r--r-- | src/runtime/memmove_ppc64x.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/memmove_ppc64x.s b/src/runtime/memmove_ppc64x.s index 72c90de379..b6d0b85459 100644 --- a/src/runtime/memmove_ppc64x.s +++ b/src/runtime/memmove_ppc64x.s @@ -7,7 +7,7 @@ #include "textflag.h" // void runtime·memmove(void*, void*, uintptr) -TEXT runtime·memmove(SB), NOSPLIT, $-8-24 +TEXT runtime·memmove(SB), NOSPLIT|NOFRAME, $0-24 MOVD to+0(FP), R3 MOVD from+8(FP), R4 MOVD n+16(FP), R5 |