aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_mipsx.s
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2018-01-25 12:15:23 -0500
committerAustin Clements <austin@google.com>2018-02-12 21:41:32 +0000
commitdfbf568c9f71d5fadfebaa206ab8341168f582d9 (patch)
tree4aec4b68c37ebf51c0d6740b68d1a9d9730c772a /src/runtime/sys_linux_mipsx.s
parentbeeabbcb2501c89db48a60681183ad161763db79 (diff)
downloadgo-dfbf568c9f71d5fadfebaa206ab8341168f582d9.tar.gz
go-dfbf568c9f71d5fadfebaa206ab8341168f582d9.zip
runtime: use NOFRAME on mips and mips64
This replaces frame size -4/-8 with the NOFRAME flag in mips and mips64 assembly. This was automated with: sed -i -e 's/\(^TEXT.*[A-Z]\),\( *\)\$-[84]/\1|NOFRAME,\2$0/' $(find -name '*_mips*.s') Plus a manual fix to mkduff.go. The go binary is identical on both architectures before and after this change. Change-Id: I0310384d1a584118c41d1cd3a042bb8ea7227efb Reviewed-on: https://go-review.googlesource.com/92044 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/sys_linux_mipsx.s')
-rw-r--r--src/runtime/sys_linux_mipsx.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_linux_mipsx.s b/src/runtime/sys_linux_mipsx.s
index 6bd0267ea2..e6c8a2d41f 100644
--- a/src/runtime/sys_linux_mipsx.s
+++ b/src/runtime/sys_linux_mipsx.s
@@ -338,7 +338,7 @@ TEXT runtime·futex(SB),NOSPLIT,$20-28
// int32 clone(int32 flags, void *stk, M *mp, G *gp, void (*fn)(void));
-TEXT runtime·clone(SB),NOSPLIT,$-4-24
+TEXT runtime·clone(SB),NOSPLIT|NOFRAME,$0-24
MOVW flags+0(FP), R4
MOVW stk+4(FP), R5
MOVW R0, R6 // ptid