Module Name: src Committed By: cherry Date: Fri Mar 14 17:36:03 UTC 2014
Modified Files: src/sys/arch/ia64/include: asm.h Log Message: Add RCSID() macro To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/ia64/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/ia64/include/asm.h diff -u src/sys/arch/ia64/include/asm.h:1.6 src/sys/arch/ia64/include/asm.h:1.7 --- src/sys/arch/ia64/include/asm.h:1.6 Tue Jan 15 13:30:12 2013 +++ src/sys/arch/ia64/include/asm.h Fri Mar 14 17:36:03 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.6 2013/01/15 13:30:12 kiyohara Exp $ */ +/* $NetBSD: asm.h,v 1.7 2014/03/14 17:36:03 cherry Exp $ */ /* - * Copyright (c) 1991,1990,1989,1994,1995,1996 Carnegie Mellon University @@ -202,6 +202,12 @@ label: ASCIZ msg; \ #endif /* __STDC__ */ +#ifdef __ELF__ +#define RCSID(name) .pushsection ".ident"; .asciz name; .popsection +#else +#define RCSID(name) .asciz name +#endif + /* * Kernel RCS ID tag and copyright macros */