blob: 06465c43d3c08da95e7bd6cd8b35cf783ae08937 [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(_exit)
movl $__NR_exit_group, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(_exit)
.globl _Exit
.equ _Exit, _exit