33c33
< * $FreeBSD: head/lib/libc/amd64/SYS.h 240178 2012-09-06 20:59:49Z jilles $
---
> * $FreeBSD: head/lib/libc/amd64/SYS.h 258447 2013-11-21 21:25:58Z andreast $
39,44c39,42
< #define RSYSCALL(x) ENTRY(__CONCAT(__sys_,x)); \
< .weak CNAME(x); \
< .set CNAME(x),CNAME(__CONCAT(__sys_,x)); \
< .weak CNAME(__CONCAT(_,x)); \
< .set CNAME(__CONCAT(_,x)),CNAME(__CONCAT(__sys_,x)); \
< mov __CONCAT($SYS_,x),%eax; KERNCALL; \
---
> #define RSYSCALL(name) ENTRY(__sys_##name); \
> WEAK_REFERENCE(__sys_##name, name); \
> WEAK_REFERENCE(__sys_##name, _##name); \
> mov $SYS_##name,%eax; KERNCALL; \
46c44
< END(__CONCAT(__sys_,x))
---
> END(__sys_##name)
48,51c46,48
< #define PSEUDO(x) ENTRY(__CONCAT(__sys_,x)); \
< .weak CNAME(__CONCAT(_,x)); \
< .set CNAME(__CONCAT(_,x)),CNAME(__CONCAT(__sys_,x)); \
< mov __CONCAT($SYS_,x),%eax; KERNCALL; \
---
> #define PSEUDO(name) ENTRY(__sys_##name); \
> WEAK_REFERENCE(__sys_##name, _##name); \
> mov $SYS_##name,%eax; KERNCALL; \
53c50
< END(__CONCAT(__sys_,x))
---
> END(__sys_##name)
55c52
< #define KERNCALL movq %rcx, %r10; syscall
---
> #define KERNCALL movq %rcx, %r10; syscall
< * $FreeBSD: head/lib/libc/amd64/SYS.h 240178 2012-09-06 20:59:49Z jilles $
---
> * $FreeBSD: head/lib/libc/amd64/SYS.h 258447 2013-11-21 21:25:58Z andreast $
39,44c39,42
< #define RSYSCALL(x) ENTRY(__CONCAT(__sys_,x)); \
< .weak CNAME(x); \
< .set CNAME(x),CNAME(__CONCAT(__sys_,x)); \
< .weak CNAME(__CONCAT(_,x)); \
< .set CNAME(__CONCAT(_,x)),CNAME(__CONCAT(__sys_,x)); \
< mov __CONCAT($SYS_,x),%eax; KERNCALL; \
---
> #define RSYSCALL(name) ENTRY(__sys_##name); \
> WEAK_REFERENCE(__sys_##name, name); \
> WEAK_REFERENCE(__sys_##name, _##name); \
> mov $SYS_##name,%eax; KERNCALL; \
46c44
< END(__CONCAT(__sys_,x))
---
> END(__sys_##name)
48,51c46,48
< #define PSEUDO(x) ENTRY(__CONCAT(__sys_,x)); \
< .weak CNAME(__CONCAT(_,x)); \
< .set CNAME(__CONCAT(_,x)),CNAME(__CONCAT(__sys_,x)); \
< mov __CONCAT($SYS_,x),%eax; KERNCALL; \
---
> #define PSEUDO(name) ENTRY(__sys_##name); \
> WEAK_REFERENCE(__sys_##name, _##name); \
> mov $SYS_##name,%eax; KERNCALL; \
53c50
< END(__CONCAT(__sys_,x))
---
> END(__sys_##name)
55c52
< #define KERNCALL movq %rcx, %r10; syscall
---
> #define KERNCALL movq %rcx, %r10; syscall