Skip to content

Commit

Permalink
* abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.
Browse files Browse the repository at this point in the history
	* elf/cache.c (print_entry): Match the kNetBSD ABI tag.
  • Loading branch information
Roland McGrath committed Oct 17, 2005
1 parent 1b61c81 commit ae0d550
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions abi-tags
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 2 additions & 1 deletion elf/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae0d550

Please sign in to comment.