Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/include Add RODATA() macro.



details:   https://anonhg.NetBSD.org/src/rev/4605a30f8ace
branches:  trunk
changeset: 476963:4605a30f8ace
user:      eeh <eeh%NetBSD.org@localhost>
date:      Tue Oct 05 03:34:41 1999 +0000

description:
Add RODATA() macro.

diffstat:

 sys/arch/sparc64/include/asm.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 236cdaae9309 -r 4605a30f8ace sys/arch/sparc64/include/asm.h
--- a/sys/arch/sparc64/include/asm.h    Tue Oct 05 03:31:43 1999 +0000
+++ b/sys/arch/sparc64/include/asm.h    Tue Oct 05 03:34:41 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.8 1999/01/31 09:21:19 mrg Exp $ */
+/*     $NetBSD: asm.h,v 1.9 1999/10/05 03:34:41 eeh Exp $ */
 
 /*
  * Copyright (c) 1994 Allen Briggs
@@ -103,7 +103,9 @@
 
 #define ENTRY(name)            _ENTRY(_C_LABEL(name)); _PROF_PROLOGUE
 #define        ASENTRY(name)           _ENTRY(_ASM_LABEL(name)); _PROF_PROLOGUE
-#define        FUNC(name)              ENTRY(name)
+#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



Home | Main Index | Thread Index | Old Index