Module Name:    src
Committed By:   matt
Date:           Sat Jan 15 07:23:49 UTC 2011

Modified Files:
        src/sys/arch/powerpc/include: asm.h

Log Message:
Add END(sym)
Add __RCSID (to match cdefs.h)


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/powerpc/include/asm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/include/asm.h
diff -u src/sys/arch/powerpc/include/asm.h:1.30 src/sys/arch/powerpc/include/asm.h:1.31
--- src/sys/arch/powerpc/include/asm.h:1.30	Mon Dec 20 21:11:25 2010
+++ src/sys/arch/powerpc/include/asm.h	Sat Jan 15 07:23:49 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: asm.h,v 1.30 2010/12/20 21:11:25 joerg Exp $	*/
+/*	$NetBSD: asm.h,v 1.31 2011/01/15 07:23:49 matt Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -110,6 +110,7 @@
 	.text; .align 2; .globl x; .type x,@function; x:
 
 #define	ENTRY(y)	_ENTRY(_C_LABEL(y)); _PROF_PROLOGUE
+#define	END(y)		.size _C_LABEL(y),.-_C_LABEL(y)
 
 #define	ENTRY_NOPROFILE(y) _ENTRY(_C_LABEL(y))
 
@@ -123,7 +124,8 @@
 
 #define	ASMSTR		.asciz
 
-#define RCSID(x)	.pushsection ".ident"; .asciz x; .popsection
+#define RCSID(x)	__RCSID(x)
+#define	__RCSID(x)	.pushsection .ident; .asciz x; .popsection
 
 #ifdef __ELF__
 #define	WEAK_ALIAS(alias,sym)						\

Reply via email to