diff options
author | julian <julian@FreeBSD.org> | 1996-08-22 04:25:09 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-08-22 04:25:09 +0000 |
commit | 2e80ac2e7889b8be73c526417fc8c5883d5f3eb1 (patch) | |
tree | 13820450972084a1283c81504809a4746f7b0d5d /lib/libc/i386 | |
parent | e5048c6cd53c81e64bc5beaf9cc05549039c4188 (diff) | |
download | FreeBSD-src-2e80ac2e7889b8be73c526417fc8c5883d5f3eb1.zip FreeBSD-src-2e80ac2e7889b8be73c526417fc8c5883d5f3eb1.tar.gz |
Submitted by: john birell (jb@cimlogic.com.au)
fixups for makefiles
and for Thread-safe sycalls
Diffstat (limited to 'lib/libc/i386')
-rw-r--r-- | lib/libc/i386/SYS.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/i386/SYS.h b/lib/libc/i386/SYS.h index c8a86f5..7c2a3dc 100644 --- a/lib/libc/i386/SYS.h +++ b/lib/libc/i386/SYS.h @@ -35,7 +35,7 @@ * * from: @(#)SYS.h 5.5 (Berkeley) 5/7/91 * - * $Id: SYS.h,v 1.4 1996/05/05 07:56:03 peter Exp $ + * $Id: SYS.h,v 1.5 1996/08/20 08:19:54 julian Exp $ */ #include <sys/syscall.h> @@ -83,9 +83,9 @@ * For the thread_safe versions, we prepend _thread_sys_ to the function * name so that the 'C' wrapper can go around the real name. */ -#define PSYSCALL(x) 2: PIC_PROLOGUE; jmp PIC_PLT(HIDENAME(cerror)); ENTRY(_thread_sys_/**/x); lea __CONCAT(SYS_,x),%eax; KERNCALL; jb 2b +#define PSYSCALL(x) 2: PIC_PROLOGUE; jmp PIC_PLT(HIDENAME(cerror)); ENTRY(__CONCAT(_thread_sys_,x)); lea __CONCAT(SYS_,x),%eax; KERNCALL; jb 2b #define PRSYSCALL(x) PSYSCALL(x); ret -#define PPSEUDO(x,y) ENTRY(_thread_sys_/**/x); lea __CONCAT(SYS_,y), %eax; KERNCALL; ret +#define PPSEUDO(x,y) ENTRY(__CONCAT(_thread_sys_,x)); lea __CONCAT(SYS_,y), %eax; KERNCALL; ret #else /* * The non-threaded library defaults to traditional syscalls where |