Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_exit.S « libsys « sparc « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 52c5c14e4bcef4bac9116ff305a58fbf90f0a4ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
! _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)