aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/arm/gen/_ctx_start.S
blob: cd8d25b9e583a852d8cc5e1d4de4db8d6530c68b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <machine/asm.h>

ENTRY(_ctx_start)
	mov	lr, pc
	mov	pc, r4
	mov	r0, r5
	bl	_C_LABEL(ctx_done)
	bl	_C_LABEL(abort)
END(_ctx_start)

	.section .note.GNU-stack,"",%progbits