]> Cypherpunks repositories - gostls13.git/commit
runtime: fix silly frame sizes on arm and arm64
authorAustin Clements <austin@google.com>
Thu, 25 Jan 2018 18:57:37 +0000 (13:57 -0500)
committerAustin Clements <austin@google.com>
Mon, 12 Feb 2018 21:41:23 +0000 (21:41 +0000)
commit8a064c600802eaab9da0cbc83adccafb5d1b8678
tree81d51e4ac2a2f9dfe5c5b302f33b885cb7c97396
parent495174302f12eafa9f8793751a5208395b969fd6
runtime: fix silly frame sizes on arm and arm64

"-8" is not a sensible frame size on arm and we're about to start
rejecting it. Replace it with -4.

Likewise, "-4" is not a sensible frame size on arm64 and we're about
to start rejecting it. Replace it with -8.

Finally, clean up some places we're weirdly inconsistent about using 0
versus -8.

Change-Id: If85e229993d5f7f1f0cfa9852b4e294d053bd784
Reviewed-on: https://go-review.googlesource.com/92038
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/runtime/asm_arm64.s
src/runtime/internal/atomic/asm_arm64.s
src/runtime/internal/atomic/atomic_arm64.s
src/runtime/sys_freebsd_arm.s
src/runtime/sys_netbsd_arm.s