Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/include Add RCSID() macro
details: https://anonhg.NetBSD.org/src/rev/4834a0a93d10
branches: trunk
changeset: 327696:4834a0a93d10
user: cherry <cherry%NetBSD.org@localhost>
date: Fri Mar 14 17:36:03 2014 +0000
description:
Add RCSID() macro
diffstat:
sys/arch/ia64/include/asm.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 671b14beb8a0 -r 4834a0a93d10 sys/arch/ia64/include/asm.h
--- a/sys/arch/ia64/include/asm.h Fri Mar 14 13:17:18 2014 +0000
+++ b/sys/arch/ia64/include/asm.h Fri Mar 14 17:36:03 2014 +0000
@@ -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 @@
#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
*/
Home |
Main Index |
Thread Index |
Old Index