diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2022-12-08 01:25:47 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2022-12-08 01:25:47 +0000 |
commit | 99f092cb54970a4a2f138ab15c178ba402c6cb20 (patch) | |
tree | 33e206da5f6ee96bfb2b8b41acc6d5b3cc135e1c /sys/arch/powerpc/include/asm.h | |
parent | 7276046ee3e5ed97bbac25157fd0d675281cac9b (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 'sys/arch/powerpc/include/asm.h')
-rw-r--r-- | sys/arch/powerpc/include/asm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/asm.h b/sys/arch/powerpc/include/asm.h index 01d238d6b9d..07e7599c3ed 100644 --- a/sys/arch/powerpc/include/asm.h +++ b/sys/arch/powerpc/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.17 2022/06/10 01:56:02 guenther Exp $ */ +/* $OpenBSD: asm.h,v 1.18 2022/12/08 01:25:45 guenther Exp $ */ /* $NetBSD: asm.h,v 1.1 1996/09/30 16:34:20 ws Exp $ */ /* @@ -89,9 +89,9 @@ _TMP_LABEL(y):; \ # define _PROF_PROLOGUE(y) #endif -#define ENTRY(y) _ENTRY(_C_LABEL(y)); _PROF_PROLOGUE(y) +#define ENTRY(y) _ENTRY(y); _PROF_PROLOGUE(y) #define ENTRY_NB(y) _ENTRY_NB(y); _PROF_PROLOGUE(y) -#define ASENTRY(y) _ENTRY(_ASM_LABEL(y)); _PROF_PROLOGUE(y) +#define ASENTRY(y) _ENTRY(y); _PROF_PROLOGUE(y) #define END(y) .size y, . - y #define STRONG_ALIAS(alias,sym) \ |