From: Josh Bleecher Snyder Date: Thu, 3 Nov 2016 02:02:43 +0000 (-0700) Subject: runtime: fix s390x asm frame sizes X-Git-Tag: go1.8beta1~354 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=62dafbb4c6cd51332b2e0519eb4267c7a03da446;p=gostls13.git runtime: fix s390x asm frame sizes Found by vet. Change-Id: I1d78454facdd3522509ecfe7c73b21c4602ced8a Reviewed-on: https://go-review.googlesource.com/32670 Run-TryBot: Josh Bleecher Snyder TryBot-Result: Gobot Gobot Reviewed-by: Michael Munday --- diff --git a/src/runtime/asm_s390x.s b/src/runtime/asm_s390x.s index 9e469c45fb..026c18c59c 100644 --- a/src/runtime/asm_s390x.s +++ b/src/runtime/asm_s390x.s @@ -1008,7 +1008,7 @@ TEXT runtime·prefetcht2(SB),NOSPLIT,$0-8 TEXT runtime·prefetchnta(SB),NOSPLIT,$0-8 RET -TEXT runtime·sigreturn(SB),NOSPLIT,$0-8 +TEXT runtime·sigreturn(SB),NOSPLIT,$0-0 RET TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0 diff --git a/src/runtime/internal/atomic/asm_s390x.s b/src/runtime/internal/atomic/asm_s390x.s index 4884d1c620..e25703e077 100644 --- a/src/runtime/internal/atomic/asm_s390x.s +++ b/src/runtime/internal/atomic/asm_s390x.s @@ -69,7 +69,7 @@ TEXT ·Xadduintptr(SB), NOSPLIT, $0-24 BR ·Xadd64(SB) // func Xaddint64(ptr *int64, delta int64) int64 -TEXT ·Xaddint64(SB), NOSPLIT, $0-16 +TEXT ·Xaddint64(SB), NOSPLIT, $0-24 BR ·Xadd64(SB) // func Casp1(ptr *unsafe.Pointer, old, new unsafe.Pointer) bool