This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] ABI tag for kNetBSD
- From: Robert Millan <rmh at debian dot org>
- To: libc-alpha at sources dot redhat dot com, glibc-bsd-hackers at nongnu dot org
- Date: Tue, 3 May 2005 14:05:37 +0200
- Subject: [PATCH] ABI tag for kNetBSD
- Organisation: free as in freedom
Hi!
This patch adds an ABI tag for kNetBSD (kernel of NetBSD).
2005-05-03 Robert Millan <robertmh@gnu.org>
* abi-tags: Add support for kNetBSD with ABI value 4.
* elf/cache.c (print_entry): Support the kNetBSD ABI tag.
--- libc/abi-tags~ 2002-09-21 00:00:22.000000000 +0200
+++ libc/abi-tags 2005-05-03 13:53:34.000000000 +0200
@@ -24,5 +24,7 @@
.*-.*-freebsd.*-gnu.* 3 4.0.0 # earliest compatible kernel version
+.*-.*-knetbsd.*-gnu 4 1.6.0 # earliest compatible kernel version
+
# There is no catch-all default here because every supported OS that uses
# ELF must have its own unique ABI tag.
--- libc/elf/cache.c~ 2005-04-07 22:57:01.000000000 +0200
+++ libc/elf/cache.c 2005-05-03 14:02:39.000000000 +0200
@@ -108,7 +108,8 @@
[1] = "Hurd",
[2] = "Solaris",
[3] = "FreeBSD",
- [4] = N_("Unknown OS")
+ [4] = "kNetBSD",
+ [5] = N_("Unknown OS")
};
#define MAXTAG (sizeof abi_tag_os / sizeof abi_tag_os[0] - 1)
unsigned int os = osversion >> 24;
The patchset for actual support is not yet in a mergeable state, but we need
this in order to build a working system without fear of ABI break. Please
apply!
Thanks
--
.''`. Proudly running Debian GNU/kFreeBSD unstable/unreleased (on UFS2+S)
: :' :
`. `' http://www.debian.org/ports/kfreebsd-gnu
`-