]> Cypherpunks repositories - gostls13.git/commit
runtime: use NOFRAME on arm64
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:31 +0000 (21:41 +0000)
commitbeeabbcb2501c89db48a60681183ad161763db79
treeb9796eef954231829bc5c2c09498ac71e1e430a7
parenta046caa1e8c6cb2e21f438c672c0c1a96eebfff6
runtime: use NOFRAME on arm64

This replaces frame size -8 with the NOFRAME flag in arm64 assembly.

This was automated with:

sed -i -e 's/\(^TEXT.*[A-Z]\),\( *\)\$-8/\1|NOFRAME,\2$0/' $(find -name '*_arm64.s')

Plus a manual fix to mkduff.go.

The go binary is identical before and after this change.

Change-Id: I0310384d1a584118c41d1cd3a042bb8ea7227efa
Reviewed-on: https://go-review.googlesource.com/92043
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
13 files changed:
misc/cgo/test/issue9400/asm_arm64.s
src/runtime/asm_arm64.s
src/runtime/atomic_arm64.s
src/runtime/cgo/asm_arm64.s
src/runtime/cgo/signal_darwin_arm64.s
src/runtime/duff_arm64.s
src/runtime/memmove_arm64.s
src/runtime/mkduff.go
src/runtime/rt0_android_arm64.s
src/runtime/rt0_darwin_arm64.s
src/runtime/rt0_linux_arm64.s
src/runtime/sys_darwin_arm64.s
src/runtime/sys_linux_arm64.s