summaryrefslogtreecommitdiff
path: root/lib/libc/arch/arm/SYS.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-12-08 01:25:47 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-12-08 01:25:47 +0000
commit99f092cb54970a4a2f138ab15c178ba402c6cb20 (patch)
tree33e206da5f6ee96bfb2b8b41acc6d5b3cc135e1c /lib/libc/arch/arm/SYS.h
parent7276046ee3e5ed97bbac25157fd0d675281cac9b (diff)
_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in amd64, arm64, armv7, i386, macppc, mips64, and sparc64 code. ok deraadt@ jca@ krw@
Diffstat (limited to 'lib/libc/arch/arm/SYS.h')
-rw-r--r--lib/libc/arch/arm/SYS.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/arm/SYS.h b/lib/libc/arch/arm/SYS.h
index 5d12784c3ec..037ded4050a 100644
--- a/lib/libc/arch/arm/SYS.h
+++ b/lib/libc/arch/arm/SYS.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: SYS.h,v 1.18 2020/03/13 09:31:24 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.19 2022/12/08 01:25:43 guenther Exp $ */
/* $NetBSD: SYS.h,v 1.8 2003/08/07 16:42:02 agc Exp $ */
/*-
@@ -40,8 +40,8 @@
#define SYSENTRY(x) \
- .weak _C_LABEL(x); \
- _C_LABEL(x) = _C_LABEL(_thread_sys_ ## x); \
+ .weak x; \
+ x = _thread_sys_ ## x; \
ENTRY(_thread_sys_ ## x)
#define SYSENTRY_HIDDEN(x) \
ENTRY(_thread_sys_ ## x)
@@ -58,7 +58,7 @@
dsb nsh; \
isb
-#define CERROR _C_LABEL(__cerror)
+#define CERROR __cerror
#define _SYSCALL_NOERROR(x,y) \
SYSENTRY(x); \