shithub: scc

ref: c809e59d972aead305d59b23e4d1d156c1ebd2a6
dir: /src/libc/arch/arm32/longjmp.s/

View raw version
	.file   "longjmp.s"

	.text
	.globl	longjmp
longjmp:
	ldmia	r0, {r4-r11, sp, lr}

	// If r1 is 0 return 1 instead
	movs	r0, r1
	moveq	r0, #1
	bx	lr