]> Cypherpunks repositories - gostls13.git/commit
runtime: use NOFRAME on mips and mips64
authorAustin Clements <austin@google.com>
Thu, 25 Jan 2018 17:15:23 +0000 (12:15 -0500)
committerAustin Clements <austin@google.com>
Mon, 12 Feb 2018 21:41:32 +0000 (21:41 +0000)
commitdfbf568c9f71d5fadfebaa206ab8341168f582d9
tree4aec4b68c37ebf51c0d6740b68d1a9d9730c772a
parentbeeabbcb2501c89db48a60681183ad161763db79
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>
16 files changed:
misc/cgo/test/issue9400/asm_mipsx.s
src/runtime/asm_mips64x.s
src/runtime/asm_mipsx.s
src/runtime/atomic_mips64x.s
src/runtime/cgo/asm_mips64x.s
src/runtime/cgo/asm_mipsx.s
src/runtime/duff_mips64x.s
src/runtime/internal/atomic/atomic_mips64x.s
src/runtime/memmove_mips64x.s
src/runtime/mkduff.go
src/runtime/rt0_linux_mips64x.s
src/runtime/rt0_linux_mipsx.s
src/runtime/sys_linux_mips64x.s
src/runtime/sys_linux_mipsx.s
src/runtime/tls_mips64x.s
src/runtime/tls_mipsx.s