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
diff --git a/libc/arch-x86/syscalls/__timer_gettime.S b/libc/arch-x86/syscalls/__timer_gettime.S
index 3923b0a..ee5604d 100644
--- a/libc/arch-x86/syscalls/__timer_gettime.S
+++ b/libc/arch-x86/syscalls/__timer_gettime.S
@@ -1,12 +1,8 @@
/* autogenerated by gensyscalls.py */
+#include <machine/asm.h>
#include <sys/linux-syscalls.h>
- .text
- .type __timer_gettime, @function
- .globl __timer_gettime
- .align 4
-
-__timer_gettime:
+ENTRY(__timer_gettime)
pushl %ebx
pushl %ecx
mov 12(%esp), %ebx
@@ -24,3 +20,4 @@
popl %ecx
popl %ebx
ret
+END(__timer_gettime)