Use the "__NetBSD_Version__" constant rather than the "NetBSD" constant
in the NetBSD version note. The old "NetBSD" constant was stuck in stone, and thus didn't really convey any useful information.
This commit is contained in:
parent
4284747200
commit
527c1efca7
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: sysident.h,v 1.9 2001/06/19 12:07:21 fvdl Exp $ */
|
/* $NetBSD: sysident.h,v 1.10 2003/02/28 18:20:33 thorpej Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 Christopher G. Demetriou
|
* Copyright (c) 1997 Christopher G. Demetriou
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
* string OS name
|
* string OS name
|
||||||
*
|
*
|
||||||
* OSVERSION notes also have:
|
* OSVERSION notes also have:
|
||||||
* long OS version (NetBSD constant from param.h)
|
* long OS version (__NetBSD_Version__ constant from param.h)
|
||||||
*
|
*
|
||||||
* The DATUM fields should be padded out such that their actual (not
|
* The DATUM fields should be padded out such that their actual (not
|
||||||
* declared) sizes % 4 == 0.
|
* declared) sizes % 4 == 0.
|
||||||
|
@ -70,7 +70,7 @@ __asm(
|
||||||
"\t.long 4\n"
|
"\t.long 4\n"
|
||||||
"\t.long " __S(ELF_NOTE_TYPE_NETBSD_TAG) "\n"
|
"\t.long " __S(ELF_NOTE_TYPE_NETBSD_TAG) "\n"
|
||||||
"\t.ascii \"NetBSD\\0\\0\"\n"
|
"\t.ascii \"NetBSD\\0\\0\"\n"
|
||||||
"\t.long " __S(NetBSD) "\n\n"
|
"\t.long " __S(__NetBSD_Version__) "\n\n"
|
||||||
|
|
||||||
"\t.p2align 2\n"
|
"\t.p2align 2\n"
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue