2013-10-16 23:27:59 +02:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-03-22 06:15:06 +01:00
|
|
|
#include <asm/unistd.h>
|
2012-01-28 02:51:42 +01:00
|
|
|
.text
|
2013-10-25 07:36:58 +02:00
|
|
|
.globl __exit
|
2012-01-28 02:51:42 +01:00
|
|
|
.align 4
|
2013-10-25 07:36:58 +02:00
|
|
|
.ent __exit
|
2012-01-28 02:51:42 +01:00
|
|
|
|
2013-10-25 07:36:58 +02:00
|
|
|
__exit:
|
2012-01-28 02:51:42 +01:00
|
|
|
.set noreorder
|
|
|
|
.cpload $t9
|
|
|
|
li $v0, __NR_exit
|
|
|
|
syscall
|
|
|
|
bnez $a3, 1f
|
|
|
|
move $a0, $v0
|
|
|
|
j $ra
|
|
|
|
nop
|
|
|
|
1:
|
|
|
|
la $t9,__set_errno
|
|
|
|
j $t9
|
|
|
|
nop
|
|
|
|
.set reorder
|
2013-10-25 07:36:58 +02:00
|
|
|
.end __exit
|