blob: 370960e820ea0cdc074c36be7b9a2a343adedce4 [file] [log] [blame]
Chris Dearman50432122014-02-05 16:59:23 -08001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08003#include <private/bionic_asm.h>
Chris Dearman50432122014-02-05 16:59:23 -08004
Dan Albertbc9f9f22014-08-08 15:19:20 -07005 .hidden __set_errno
6
Elliott Hughes9abbbdc2014-02-19 14:54:31 -08007ENTRY(_exit)
Chris Dearman50432122014-02-05 16:59:23 -08008 .set push
9 .set noreorder
10 li v0, __NR_exit_group
11 syscall
12 bnez a3, 1f
13 move a0, v0
14 j ra
15 nop
161:
17 move t0, ra
18 bal 2f
19 nop
202:
21 .cpsetup ra, t1, 2b
22 LA t9,__set_errno
23 .cpreturn
24 j t9
25 move ra, t0
26 .set pop
Elliott Hughes9abbbdc2014-02-19 14:54:31 -080027END(_exit)
Elliott Hughes9f525642014-04-08 17:14:01 -070028
29 .globl _Exit
30 .equ _Exit, _exit