Deleted Added
full compact
37c37
< * $FreeBSD: head/lib/libc/amd64/SYS.h 115279 2003-05-24 17:35:23Z peter $
---
> * $FreeBSD: head/lib/libc/amd64/SYS.h 126107 2004-02-22 02:11:39Z peter $
44,46c44
< #define SYSCALL(x) 2: movq PIC_GOT(HIDENAME(cerror)),%rcx; \
< jmp *%rcx; \
< ENTRY(__CONCAT(__sys_,x)); \
---
> #define RSYSCALL(x) ENTRY(__CONCAT(__sys_,x)); \
51c49,50
< mov __CONCAT($SYS_,x),%rax; KERNCALL; jb 2b
---
> mov __CONCAT($SYS_,x),%rax; KERNCALL; jb 2f; ret; \
> 2: movq PIC_GOT(HIDENAME(cerror)),%rcx; jmp *%rcx
53,54c52
< #define SYSCALL(x) 2: jmp HIDENAME(cerror); \
< ENTRY(__CONCAT(__sys_,x)); \
---
> #define RSYSCALL(x) ENTRY(__CONCAT(__sys_,x)); \
59c57,58
< mov __CONCAT($SYS_,x),%rax; KERNCALL; jb 2b
---
> mov __CONCAT($SYS_,x),%rax; KERNCALL; jb 2f; ret; \
> 2: jmp HIDENAME(cerror)
62,63d60
< #define RSYSCALL(x) SYSCALL(x); ret
<