Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so Provide compatibility for the NetBSD-1.5 b...
details: https://anonhg.NetBSD.org/src/rev/09fa9e57a248
branches: trunk
changeset: 510266:09fa9e57a248
user: christos <christos%NetBSD.org@localhost>
date: Thu May 24 17:42:48 2001 +0000
description:
Provide compatibility for the NetBSD-1.5 branch. Note that I used
__NetBSD_Version__ instead of checking if the macro was not already
defined.
diffstat:
libexec/ld.elf_so/sysident.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r a51089bea5be -r 09fa9e57a248 libexec/ld.elf_so/sysident.h
--- a/libexec/ld.elf_so/sysident.h Thu May 24 17:41:42 2001 +0000
+++ b/libexec/ld.elf_so/sysident.h Thu May 24 17:42:48 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysident.h,v 1.7 2000/12/15 06:49:19 mycroft Exp $ */
+/* $NetBSD: sysident.h,v 1.8 2001/05/24 17:42:48 christos Exp $ */
/*
* Copyright (c) 1997 Christopher G. Demetriou
@@ -56,6 +56,11 @@
* NetBSD binary, or some other OS's.
*/
+/* XXX: NetBSD 1.5 compatibility only! */
+#if __NetBSD_Version__ < 105010000
+#define ELF_NOTE_TYPE_NETBSD_TAG 1
+#endif
+
#define __S(x) __STRING(x)
__asm("
.section \".note.netbsd.ident\", \"a\"
Home |
Main Index |
Thread Index |
Old Index