summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include/asm.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2022-12-06 18:51:01 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2022-12-06 18:51:01 +0000
commite2b0570e1c23d093b3fa6a5a7bcbf9500e52de0b (patch)
tree553b7481ee9d6e51c4f1ab981bd82ca55a8e6e21 /sys/arch/m88k/include/asm.h
parent305e15285c45730bb7dad486b98571d7eff1243e (diff)
_C_LABEL() and _ASM_LABEL() are no longer useful in the "everything
is ELF" world. Eliminate use of them in m88k code. ok aoyama@
Diffstat (limited to 'sys/arch/m88k/include/asm.h')
-rw-r--r--sys/arch/m88k/include/asm.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/m88k/include/asm.h b/sys/arch/m88k/include/asm.h
index 6c858a99382..666aef6c75a 100644
--- a/sys/arch/m88k/include/asm.h
+++ b/sys/arch/m88k/include/asm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: asm.h,v 1.15 2016/05/27 16:32:38 deraadt Exp $ */
+/* $OpenBSD: asm.h,v 1.16 2022/12/06 18:50:59 guenther Exp $ */
/*
* Mach Operating System
@@ -36,29 +36,29 @@
#define _ENTRY(name) \
.text; .align 3; .globl name; .type name,@function; name:
-#define ENTRY(name) _ENTRY(_C_LABEL(name))
-#define ASENTRY(name) _ENTRY(_ASM_LABEL(name))
+#define ENTRY(name) _ENTRY(name)
+#define ASENTRY(name) _ENTRY(name)
#define END(name) \
.size name,.-name
#define GLOBAL(name) \
- .globl _C_LABEL(name); _C_LABEL(name):
+ .globl name; name:
#define ASGLOBAL(name) \
- .globl _ASM_LABEL(name); _ASM_LABEL(name):
+ .globl name; name:
#define LOCAL(name) \
- _C_LABEL(name):
+ name:
#define ASLOCAL(name) \
- _ASM_LABEL(name):
+ name:
#define BSS(name, size) \
- .comm _C_LABEL(name), size
+ .comm name, size
#define ASBSS(name, size) \
- .comm _ASM_LABEL(name), size
+ .comm name, size
#define STRONG_ALIAS(alias,sym) \
.global alias; \
@@ -180,7 +180,7 @@
#define RTE_ERROR_BIT 0
#define VECTOR(x) \
- .word _C_LABEL(x)
+ .word x
#endif /* _LOCORE */