summaryrefslogtreecommitdiff
path: root/newlib/libc/sys/sparc64/_exit.S
blob: 174f721652ea3033a9ac686c218ffeac915cbebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! _exit() system call

#include "sys/syscallasm.h"

	TEXT_SECTION
	ALIGN (4)
	GLOBAL (ASM_SYMBOL (_exit))
ASM_SYMBOL (_exit):
	mov	SYS_exit,%g1
	ta	%icc,SYSCALL_TRAP

! If that returns (yikes!), try an illegal insn ...

	WORD (0)