summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2000-10-06 23:29:16 +0000
committerDavid Leonard <d@cvs.openbsd.org>2000-10-06 23:29:16 +0000
commit73404216a06223c4b7b1e3f628393cd01296bd6e (patch)
treef2469accf556ba101e98f420c3cc897902376490
parentecbdf567686dc48970a28f4b6b0901edbf52ad9b (diff)
weaken syscall symbols in libc by default
-rw-r--r--lib/libc/arch/powerpc/SYS.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libc/arch/powerpc/SYS.h b/lib/libc/arch/powerpc/SYS.h
index e8996c62042..80ee82483ee 100644
--- a/lib/libc/arch/powerpc/SYS.h
+++ b/lib/libc/arch/powerpc/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.7 2000/03/01 17:31:22 todd Exp $ */
+/* $OpenBSD: SYS.h,v 1.8 2000/10/06 23:29:15 d Exp $ */
/*-
* Copyright (c) 1994
* Andrew Cagney. All rights reserved.
@@ -64,15 +64,6 @@
#define SUFFIX PSEUDO_SUFFIX
-#ifndef _THREAD_SAFE
-#define PREFIX(x) PSEUDO_PREFIX(,x,x)
-#define PREFIX2(x,y) PSEUDO_PREFIX(,x,y)
-#define PSEUDO(x,y) PSEUDO_PREFIX(,x,y) ; \
- sc ; \
- PSEUDO_SUFFIX
-
-#define RSYSCALL(x) PSEUDO(x,x)
-#else /* _THREAD_SAFE */
#define ALIAS(x,y) .weak y; .set y,_CONCAT(x,y);
#define PREFIX(x) ALIAS(_thread_sys_,x) \
@@ -86,4 +77,3 @@
#define RSYSCALL(x) PSEUDO(x,x)
-#endif /* _THREAD_SAFE */