summaryrefslogtreecommitdiff
path: root/src/runtime/rt0_openbsd_arm.s
blob: 6207e55982465eff9038b20ab40b90d41d5ab4ec (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

#include "textflag.h"

TEXT _rt0_arm_openbsd(SB),NOSPLIT,$-4
	MOVW	(R13), R0		// argc
	MOVW	$4(R13), R1		// argv
	MOVM.DB.W [R0-R1], (R13)
	B	runtime·rt0_go(SB)