aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/rt0_netbsd_arm.s
diff options
context:
space:
mode:
authorJoel Sing <jsing@google.com>2015-02-16 02:03:53 +1100
committerJoel Sing <jsing@google.com>2015-03-15 04:06:26 +0000
commitbe3133bfda9c71b70d7494588c01a86e437ea920 (patch)
tree2c04d541c6015bd2f6acd06c96c941398e37eb36 /src/runtime/rt0_netbsd_arm.s
parent3e981d9830215632d2a34e68273cb4452b9e6ffc (diff)
downloadgo-be3133bfda9c71b70d7494588c01a86e437ea920.tar.gz
go-be3133bfda9c71b70d7494588c01a86e437ea920.zip
runtime: add support for openbsd/arm
Change-Id: I2bc101aa19172e705ee4de5f3c73a8b4bbf4fa6f Reviewed-on: https://go-review.googlesource.com/4912 Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/runtime/rt0_netbsd_arm.s')
-rw-r--r--src/runtime/rt0_netbsd_arm.s4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/rt0_netbsd_arm.s b/src/runtime/rt0_netbsd_arm.s
index bad66e06cf..2cb1182c06 100644
--- a/src/runtime/rt0_netbsd_arm.s
+++ b/src/runtime/rt0_netbsd_arm.s
@@ -4,10 +4,8 @@
#include "textflag.h"
-// FreeBSD/NetBSD and Linux use the same linkage to main
-
TEXT _rt0_arm_netbsd(SB),NOSPLIT,$-4
- MOVW (R13), R0 // argc
+ MOVW (R13), R0 // argc
MOVW $4(R13), R1 // argv
MOVM.DB.W [R0-R1], (R13)
B runtime·rt0_go(SB)