summaryrefslogtreecommitdiffstats
path: root/linker/arch/arm/begin.S
blob: f9b3bace4f1e17debf9f5066c7ebced6d225f1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	.text
	.align 4
	.type _start,#function
	.globl _start

_start:
	mov	r0, sp
	mov	r1, #0
	bl	__linker_init

	/* linker init returns the _entry address in the main image */
	mov	pc, r0

	.section .ctors, "wa"
	.globl __CTOR_LIST__
__CTOR_LIST__:
	.long -1