Return to SYS.h CVS log | Up to [cvs.NetBSD.org] / src / lib / libc / arch / x86_64 |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.10, 2007/11/23 07:36:05 | version 1.11, 2011/11/18 20:43:01 | ||
---|---|---|---|
|
|
||
ENTRY(x); \ | ENTRY(x); \ | ||
SYSTRAP(y) | SYSTRAP(y) | ||
#ifdef PIC | |||
#define _SYSCALL_ERR \ | #define _SYSCALL_ERR \ | ||
mov PIC_GOT(CERROR), %rcx; \ | |||
jmp *%rcx | |||
#else | |||
#define _SYSCALL_ERR \ | |||
jmp CERROR | jmp CERROR | ||
#endif | |||
#define _SYSCALL(x,y) \ | #define _SYSCALL(x,y) \ | ||
.text; _ALIGN_TEXT; \ | .text; _ALIGN_TEXT; \ |