This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ABI tag for kNetBSD


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
  `-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]