This is the mail archive of the libc-alpha@sourceware.org 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 Syllable


Hi,

The attached patch adds an ABI tag for Syllable.

2005-12-25  Kristian Van Der Vliet  <vanders@liqwyd.com>

	* abi-tags (*-.*-syllable.*): New match, with ABI value 5.
	* elf/cache.c (print_entry): Match the Syllable ABI tag.

Index: abi-tags
===================================================================
RCS file: /cvs/glibc/libc/abi-tags,v
retrieving revision 1.5
diff -u -b -r1.5 abi-tags
--- abi-tags	17 Oct 2005 02:43:57 -0000	1.5
+++ abi-tags	25 Dec 2005 12:31:53 -0000
@@ -26,5 +26,7 @@
 
 .*-.*-knetbsd.*-gnu.*	4	1.6.0	# earliest compatible kernel version
 
+.*-.*-syllable.*	5	2.0.0	# just an arbitrary value
+
 # There is no catch-all default here because every supported OS that uses
 # ELF must have its own unique ABI tag.
Index: elf/cache.c
===================================================================
RCS file: /cvs/glibc/libc/elf/cache.c,v
retrieving revision 1.25
diff -u -b -r1.25 cache.c
--- elf/cache.c	7 Dec 2005 05:47:27 -0000	1.25
+++ elf/cache.c	25 Dec 2005 12:31:53 -0000
@@ -107,7 +107,8 @@
 	[2] = "Solaris",
 	[3] = "FreeBSD",
 	[4] = "kNetBSD",
-	[5] = N_("Unknown OS")
+	[5] = "Syllable",
+	[6] = N_("Unknown OS")
       };
 #define MAXTAG (sizeof abi_tag_os / sizeof abi_tag_os[0] - 1)
       unsigned int os = osversion >> 24;

The rest of my port is now stable and has shipped in the two previous versions 
of Syllable.  Please apply this patch; it will be on less thing for me to 
track in CVS!  Thanks.

-- 
Vanders
http://www.syllable.org
http://www.liqwyd.com


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