Switch x86 syscall stubs over to the ENTER/END style of the ARM stubs.

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
This commit is contained in:
Elliott Hughes
2013-02-06 17:08:15 -08:00
parent d32fdbaf03
commit 7582a9c119
206 changed files with 744 additions and 1272 deletions

View File

@@ -1,12 +1,8 @@
/* autogenerated by gensyscalls.py */
#include <machine/asm.h>
#include <sys/linux-syscalls.h>
.text
.type __timer_delete, @function
.globl __timer_delete
.align 4
__timer_delete:
ENTRY(__timer_delete)
pushl %ebx
mov 8(%esp), %ebx
movl $__NR_timer_delete, %eax
@@ -21,3 +17,4 @@ __timer_delete:
1:
popl %ebx
ret
END(__timer_delete)