mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 02:09:19 +08:00
14 lines
220 B
ArmAsm
14 lines
220 B
ArmAsm
|
! _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)
|