]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix s390x asm frame sizes
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 3 Nov 2016 02:02:43 +0000 (19:02 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 3 Nov 2016 15:04:59 +0000 (15:04 +0000)
Found by vet.

Change-Id: I1d78454facdd3522509ecfe7c73b21c4602ced8a
Reviewed-on: https://go-review.googlesource.com/32670
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <munday@ca.ibm.com>
src/runtime/asm_s390x.s
src/runtime/internal/atomic/asm_s390x.s

index 9e469c45fb516ab05713a7a15916869d5560eda5..026c18c59c379a3f52e27c2990d703b96f7aed06 100644 (file)
@@ -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
index 4884d1c620fbfda9167b3ae33337d3547b1a2de3..e25703e0772a3fa3f059ecfb33ee4fec1ecb62f9 100644 (file)
@@ -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