Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Turn off kernel rcsids by default on a.out, but let ...
details: https://anonhg.NetBSD.org/src/rev/5644765adf09
branches: trunk
changeset: 517516:5644765adf09
user: tv <tv%NetBSD.org@localhost>
date: Tue Nov 13 19:52:39 2001 +0000
description:
Turn off kernel rcsids by default on a.out, but let it be turned on again
with the option USE_KERNEL_RCSIDS. (On a.out, these strings are actually
allocated memory and loaded; on ELF, they exist in a non-loaded file section.)
diffstat:
sys/sys/cdefs_aout.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4ddd51e054f8 -r 5644765adf09 sys/sys/cdefs_aout.h
--- a/sys/sys/cdefs_aout.h Tue Nov 13 19:16:41 2001 +0000
+++ b/sys/sys/cdefs_aout.h Tue Nov 13 19:52:39 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs_aout.h,v 1.5 2000/08/07 16:35:34 kleink Exp $ */
+/* $NetBSD: cdefs_aout.h,v 1.6 2001/11/13 19:52:39 tv Exp $ */
/*
* Written by J.T. Conklin <jtc%wimsey.com@localhost> 01/17/95.
@@ -53,7 +53,11 @@
#define __SCCSID2(_s)
#define __COPYRIGHT(_s) __IDSTRING(copyright,_s)
+#if defined(USE_KERNEL_RCSIDS) || !defined(_KERNEL)
#define __KERNEL_RCSID(_n, _s) __IDSTRING(__CONCAT(rcsid,_n),_s)
+#else
+#define __KERNEL_RCSID(_n, _s)
+#endif
#define __KERNEL_SCCSID(_n, _s)
#define __KERNEL_COPYRIGHT(_n, _s) __IDSTRING(__CONCAT(copyright,_n),_s)
Home |
Main Index |
Thread Index |
Old Index