xref: /minix/minix/lib/libc/arch/arm/sys/__sigreturn.S (revision 83133719)
1/* This routine is the low-level code for returning from signals.   */
2/* It calls _sigreturn, which is the normal "system call" routine. */
3/* Both __sigreturn and _sigreturn are needed. */
4#include <machine/asm.h>
5
6IMPORT(sigreturn)
7ENTRY(__sigreturn)
8	pop	{r0}		/* load sigframe.sf_scp into r0 as parameter */
9	b	_C_LABEL(sigreturn)	/* _sigreturn(struct sigcontext *sf_scpcopy) */
10