aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/rt0_plan9_arm.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:30 +0000
commita046caa1e8c6cb2e21f438c672c0c1a96eebfff6 (patch)
treeaf71940bdc6adea326399597f1d4a4ce9ca2e54a /src/runtime/rt0_plan9_arm.s
parent39f42c59e65963343d11f301a3d5838c0bfb1002 (diff)
downloadgo-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/rt0_plan9_arm.s')
-rw-r--r--src/runtime/rt0_plan9_arm.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/rt0_plan9_arm.s b/src/runtime/rt0_plan9_arm.s
index d6174a4df5..697a78d99a 100644
--- a/src/runtime/rt0_plan9_arm.s
+++ b/src/runtime/rt0_plan9_arm.s
@@ -6,7 +6,7 @@
//in plan 9 argc is at top of stack followed by ptrs to arguments
-TEXT _rt0_arm_plan9(SB),NOSPLIT,$-4
+TEXT _rt0_arm_plan9(SB),NOSPLIT|NOFRAME,$0
MOVW R0, _tos(SB)
MOVW 0(R13), R0
MOVW $4(R13), R1