summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>1999-02-24 16:02:19 +0000
committerchs <chs@NetBSD.org>1999-02-24 16:02:19 +0000
commit31ef6fbb8d6e68b5c028d293997ad0e5d5d7c19b (patch)
treec91b37c1058c9da4495b0976bedc50fa4cc99dfa /sys
parent5ff2e5a369206ea324deee8dec27554184128c4e (diff)
add RODATA(), which is like ENTRY() but without the _PROF_PROLOGUE.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/include/asm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/asm.h b/sys/arch/sparc/include/asm.h
index 86775b1bfe5..f291076a110 100644
--- a/sys/arch/sparc/include/asm.h
+++ b/sys/arch/sparc/include/asm.h
@@ -1,4 +1,4 @@
-/* $NetBSD: asm.h,v 1.9 1998/12/02 21:16:46 thorpej Exp $ */
+/* $NetBSD: asm.h,v 1.10 1999/02/24 16:02:19 chs Exp $ */
/*
* Copyright (c) 1994 Allen Briggs
@@ -99,6 +99,8 @@
#define ENTRY(name) _ENTRY(_C_LABEL(name)); _PROF_PROLOGUE
#define ASENTRY(name) _ENTRY(_ASM_LABEL(name)); _PROF_PROLOGUE
#define FUNC(name) ASENTRY(name)
+#define RODATA(name) .align 4; .text; .globl _C_LABEL(name); \
+ OTYPE(_C_LABEL(name)); _C_LABEL(name):
#define ASMSTR .asciz