Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include Add END() macro like most other archs...



details:   https://anonhg.NetBSD.org/src/rev/986ff4e792bb
branches:  trunk
changeset: 328668:986ff4e792bb
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Apr 12 21:26:45 2014 +0000

description:
Add END() macro like most other archs have.

diffstat:

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

diffs (18 lines):

diff -r b1684fd00539 -r 986ff4e792bb sys/arch/sparc/include/asm.h
--- a/sys/arch/sparc/include/asm.h      Sat Apr 12 20:24:46 2014 +0000
+++ b/sys/arch/sparc/include/asm.h      Sat Apr 12 21:26:45 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.19 2013/09/12 15:36:17 joerg Exp $ */
+/*     $NetBSD: asm.h,v 1.20 2014/04/12 21:26:45 joerg Exp $ */
 
 /*
  * Copyright (c) 1994 Allen Briggs
@@ -152,7 +152,7 @@
 #define        FUNC(name)              ASENTRY(name)
 #define RODATA(name)           .align 4; .text; .globl _C_LABEL(name); \
                                OTYPE(_C_LABEL(name)); _C_LABEL(name):
-
+#define        END(y)          .size y, . - y
 
 #define ASMSTR                 .asciz
 



Home | Main Index | Thread Index | Old Index