source: trunk/libs/newlib/src/libgloss/sparc/libsys/_exit.S @ 498

Last change on this file since 498 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 220 bytes
Line 
1! _exit() system call
2
3#include "syscallasm.h"
4
5        TEXT_SECTION
6        ALIGN (4)
7        GLOBAL (ASM_SYMBOL (_exit))
8ASM_SYMBOL (_exit):
9        mov     SYS_exit,%g1
10        ta      SYSCALL_TRAP
11
12! If that returns (yikes!), try an illegal insn ...
13
14        WORD (0)
Note: See TracBrowser for help on using the repository browser.