2013-10-16 14:27:59 -07:00
|
|
|
/* Generated by gensyscalls.py. Do not edit. */
|
|
|
|
|
2013-11-07 10:31:05 -08:00
|
|
|
#include <private/bionic_asm.h>
|
2009-03-03 19:28:35 -08:00
|
|
|
|
2013-10-24 22:36:58 -07:00
|
|
|
ENTRY(__exit)
|
2013-01-16 14:02:50 +01:00
|
|
|
mov ip, r7
|
2009-03-03 19:28:35 -08:00
|
|
|
ldr r7, =__NR_exit
|
|
|
|
swi #0
|
2013-01-16 14:02:50 +01:00
|
|
|
mov r7, ip
|
2013-03-12 14:57:30 -07:00
|
|
|
cmn r0, #(MAX_ERRNO + 1)
|
|
|
|
bxls lr
|
|
|
|
neg r0, r0
|
|
|
|
b __set_errno
|
2013-10-24 22:36:58 -07:00
|
|
|
END(__exit)
|