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/memclr_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/memclr_ppc64x.s')
-rw-r--r-- | src/runtime/memclr_ppc64x.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/memclr_ppc64x.s b/src/runtime/memclr_ppc64x.s index 90e27482ff..442faa25f2 100644 --- a/src/runtime/memclr_ppc64x.s +++ b/src/runtime/memclr_ppc64x.s @@ -7,7 +7,7 @@ #include "textflag.h" // void runtime·memclr(void*, uintptr) -TEXT runtime·memclr(SB),NOSPLIT,$0-16 +TEXT runtime·memclr(SB),NOSPLIT|NOFRAME,$0-16 MOVD ptr+0(FP), R3 MOVD n+8(FP), R4 SRADCC $3, R4, R6 // R6 is the number of words to zero |