#if defined(__linux__)
#if defined(__arm__)

	.section .text

	.globl	_start
	.type	_start, %function
_start:
	mov	r2, sp
	bic	sp, sp, #15	/* sp &= 0xfffffff0 */

	ldr	r0, [r2]	/* argc */
	add	r1, r2, #4	/* argv */
	add	r2, r0, #1
	lsl	r2, r2, #2
	add	r2, r1, r2	/* envp */

	bl	nlcrt_start

1:	b	1b
#endif
#endif
