[PATCH] Base GNU/K*BSD support (with ChangeLog)

Robert Millan zeratul2@wanadoo.es
Mon Dec 1 16:24:00 GMT 2003


On Mon, Dec 01, 2003 at 03:20:05PM +0100, Alfred M. Szmidt wrote:
> You forgot the patch, as usual.

Oops. Here is it.

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T, Ainulindale (Silmarillion)
-------------- next part --------------
diff -ur glibc.old/abi-tags glibc/abi-tags
--- glibc.old/abi-tags	2002-09-21 00:00:22.000000000 +0200
+++ glibc/abi-tags	2003-11-24 14:04:15.000000000 +0100
@@ -22,7 +22,9 @@
 
 .*-sun-solaris2.*	2	2.0.0	# just an arbitrary value
 
-.*-.*-freebsd.*-gnu.*	3	4.0.0	# earliest compatible kernel version
+.*-.*-kfreebsd.*-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.
diff -ur glibc.old/shlib-versions glibc/shlib-versions
--- glibc.old/shlib-versions	2002-09-05 11:32:03.000000000 +0200
+++ glibc/shlib-versions	2003-11-24 14:09:59.000000000 +0100
@@ -26,6 +26,8 @@
 x86_64-.*-linux.*       DEFAULT			GLIBC_2.2.5
 powerpc64-.*-linux.*	DEFAULT			GLIBC_2.3
 .*-.*-gnu-gnu.*		DEFAULT			GLIBC_2.2.6
+.*-.*-kfreebsd.*-gnu	DEFAULT			GLIBC_2.3
+.*-.*-knetbsd.*-gnu	DEFAULT			GLIBC_2.3.1
 
 # Configuration		Library=version		Earliest symbol set (optional)
 # -------------		---------------		------------------------------
@@ -39,6 +41,8 @@
 hppa.*-.*-.*		libm=6			GLIBC_2.2
 .*-.*-linux.*		libm=6
 .*-.*-gnu-gnu.*		libm=6
+.*-.*-kfreebsd.*-gnu	libm=1
+.*-.*-knetbsd.*-gnu	libm=1
 
 # We provide libc.so.6 for Linux kernel versions 2.0 and later.
 alpha.*-.*-linux.*	libc=6.1
@@ -49,6 +53,8 @@
 sparc64-.*-linux.*	libc=6			GLIBC_2.2
 hppa.*-.*-.*		libc=6			GLIBC_2.2
 .*-.*-linux.*		libc=6
+.*-.*-kfreebsd.*-gnu	libc=1
+.*-.*-knetbsd.*-gnu	libc=1
 
 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
 .*-.*-gnu-gnu.*		libmachuser=1


More information about the Libc-alpha mailing list