diff options
author | Austin Clements <austin@google.com> | 2018-01-25 12:15:23 -0500 |
---|---|---|
committer | Austin Clements <austin@google.com> | 2018-02-12 21:41:30 +0000 |
commit | a046caa1e8c6cb2e21f438c672c0c1a96eebfff6 (patch) | |
tree | af71940bdc6adea326399597f1d4a4ce9ca2e54a /src/runtime/vlop_arm.s | |
parent | 39f42c59e65963343d11f301a3d5838c0bfb1002 (diff) | |
download | go-a046caa1e8c6cb2e21f438c672c0c1a96eebfff6.tar.gz go-a046caa1e8c6cb2e21f438c672c0c1a96eebfff6.zip |
runtime, sync/atomic: use NOFRAME on arm
This replaces frame size -4 with the NOFRAME flag in arm assembly.
This was automated with:
sed -i -e 's/\(^TEXT.*[A-Z]\),\( *\)\$-4/\1|NOFRAME,\2$0/' $(find -name '*_arm.s')
Plus three manual comment changes found by:
grep '\$-4' $(find -name '*_arm.s')
The go binary is identical before and after this change.
Change-Id: I0310384d1a584118c41d1cd3a042bb8ea7227ef9
Reviewed-on: https://go-review.googlesource.com/92042
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/vlop_arm.s')
-rw-r--r-- | src/runtime/vlop_arm.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/vlop_arm.s b/src/runtime/vlop_arm.s index 6a602ffbb8..e7e8ed2e05 100644 --- a/src/runtime/vlop_arm.s +++ b/src/runtime/vlop_arm.s @@ -84,7 +84,7 @@ TEXT runtime·_sfloat(SB), NOSPLIT, $68-0 // 4 arg + 14*4 saved regs + cpsr + re // load the signal fault address into LR, and jump // to the real sigpanic. // This simulates what sighandler does for a memory fault. -TEXT runtime·_sfloatpanic(SB),NOSPLIT,$-4 +TEXT runtime·_sfloatpanic(SB),NOSPLIT|NOFRAME,$0 MOVW $0, R0 MOVW.W R0, -4(R13) MOVW g_sigpc(g), LR @@ -102,7 +102,7 @@ TEXT runtime·_sfloatpanic(SB),NOSPLIT,$-4 #define Ra R11 // Be careful: Ra == R11 will be used by the linker for synthesized instructions. -TEXT runtime·udiv(SB),NOSPLIT,$-4 +TEXT runtime·udiv(SB),NOSPLIT|NOFRAME,$0 MOVBU runtime·hardDiv(SB), Ra CMP $0, Ra BNE udiv_hardware |