7582a9c119
Also update the x86 asm.h to support this; we need it for libm assembler anyway. Also clean up the _FBSDID hack in <sys/cdefs.h>. Change-Id: Iababd977b8110ec022bf7c93f4d62ece47630e7c
20 lines
384 B
ArmAsm
20 lines
384 B
ArmAsm
/* autogenerated by gensyscalls.py */
|
|
#include <machine/asm.h>
|
|
#include <sys/linux-syscalls.h>
|
|
|
|
ENTRY(_exit)
|
|
pushl %ebx
|
|
mov 8(%esp), %ebx
|
|
movl $__NR_exit_group, %eax
|
|
int $0x80
|
|
cmpl $-129, %eax
|
|
jb 1f
|
|
negl %eax
|
|
pushl %eax
|
|
call __set_errno
|
|
addl $4, %esp
|
|
orl $-1, %eax
|
|
1:
|
|
popl %ebx
|
|
ret
|
|
END(_exit)
|