Your message dated Sat, 5 Nov 2005 11:22:00 +0100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #307475,
regarding Detect GNU/kFreeBSD binaries
to be marked as having been forwarded to the upstream software
author(s) Christos Zoulas <[EMAIL PROTECTED]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---------------------------------------
Received: (at 307475-forwarded) by bugs.debian.org; 5 Nov 2005 10:21:32 +0000
>From [EMAIL PROTECTED] Sat Nov 05 02:21:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 216.red-62-57-140.user.auna.net (khazad.dyndns.org) 
[62.57.140.216] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EYLAy-0000IQ-00; Sat, 05 Nov 2005 02:21:32 -0800
Received: from rmh by khazad.dyndns.org with local (Exim 4.54)
        id 1EYLBQ-0004Ae-Dw; Sat, 05 Nov 2005 11:22:00 +0100
Date: Sat, 5 Nov 2005 11:22:00 +0100
From: Robert Millan <[EMAIL PROTECTED]>
To: Christos Zoulas <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: GNU/k*BSD support
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z"
Content-Disposition: inline
Sender: Robert Millan <[EMAIL PROTECTED]>
Organisation: free as in freedom
User-Agent: Mutt/1.5.11
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.5 required=4.0 tests=BAYES_00,RCVD_IN_SORBS 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


Hi,

Please could you apply this patch to detect GNU/kFreeBSD and
GNU/kNetBSD binaries?

GNU/kFreeBSD ABI tag (3) has been reserved in Glibc for a while, and the
GNU/kNetBSD one (4) was added recently in CVS:

  
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/abi-tags.diff?r1=1.4&r2=1.5&cvsroot=glibc

Thanks!

-- 
Robert Millan

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="kbsd-gnu.diff"

diff -ur file-4.15.old/src/readelf.c file-4.15/src/readelf.c
--- file-4.15.old/src/readelf.c 2005-07-14 04:22:25.000000000 +0200
+++ file-4.15/src/readelf.c     2005-11-05 11:15:12.000000000 +0100
@@ -352,6 +352,14 @@
                        if (file_printf(ms, "Solaris") == -1)
                                return size;
                        break;
+               case GNU_OS_KFREEBSD:
+                       if (file_printf(ms, "kFreeBSD") == -1)
+                               return size;
+                       break;
+               case GNU_OS_KNETBSD:
+                       if (file_printf(ms, "kNetBSD") == -1)
+                               return size;
+                       break;
                default:
                        if (file_printf(ms, "<unknown>") == -1)
                                return size; 
diff -ur file-4.15.old/src/readelf.h file-4.15/src/readelf.h
--- file-4.15.old/src/readelf.h 2005-06-30 18:33:01.000000000 +0200
+++ file-4.15/src/readelf.h     2005-11-05 11:15:41.000000000 +0100
@@ -231,5 +231,7 @@
 #define GNU_OS_LINUX   0
 #define GNU_OS_HURD    1
 #define GNU_OS_SOLARIS 2
+#define GNU_OS_KFREEBSD        3
+#define GNU_OS_KNETBSD 4
 
 #endif

--Nq2Wo0NMKNjxTN9z--


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to