Subject: CVS commit: src/sys/sys
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 10/06/2007 00:21:47
Module Name:	src
Committed By:	uwe
Date:		Sat Oct  6 00:21:47 UTC 2007

Modified Files:
	src/sys/sys: cdefs_elf.h

Log Message:
Use .pushsection/.popsection instead of going "back" with .previous
(it does but has a side-effect) or .text (which is probably ok, but
still less kosher).

Make section macros work for traditional cpp (I guess we haven't used
that for a *long* time, b/c it was broken).

Use __unused instead of explicit attribute for __COPYRIGHT (to be
changed in the next commit).

Define __KERNEL_COPYRIGHT in terms of __COPYRIGHT rather than
duplicating the logic and accidentally inverting it.

Results in identical obj tree for an i386 build modulo ar archives
(with timestamps embedded) and few .o files (and programs they are
part of) that embed timestamps as strings.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/sys/cdefs_elf.h

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