libc/libgloss/sparc/libsys/_exit.S

14 lines
220 B
ArmAsm
Raw Normal View History

2000-03-17 23:48:54 +01:00
! _exit() system call
#include "syscallasm.h"
TEXT_SECTION
ALIGN (4)
GLOBAL (ASM_SYMBOL (_exit))
ASM_SYMBOL (_exit):
mov SYS_exit,%g1
ta SYSCALL_TRAP
! If that returns (yikes!), try an illegal insn ...
WORD (0)