From 99f092cb54970a4a2f138ab15c178ba402c6cb20 Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Thu, 8 Dec 2022 01:25:47 +0000 Subject: _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@ --- lib/libc/arch/arm/SYS.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc/arch/arm/SYS.h') 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); \ -- cgit v1.2.3