* abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.

* elf/cache.c (print_entry): Match the kNetBSD ABI tag.
This commit is contained in:
Roland McGrath 2005-10-17 02:44:01 +00:00
parent 1b61c81b4b
commit ae0d550c3e
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-03 Robert Millan <robertmh@gnu.org>
* abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.
* elf/cache.c (print_entry): Match the kNetBSD ABI tag.
2005-10-16 Alfred M. Szmidt <ams@gnu.org>
* sysdeps/generic/bits/mman.h

View File

@ -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.

View File

@ -108,7 +108,8 @@ print_entry (const char *lib, int flag, unsigned int osversion,
[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;