WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Make libelf build on Solaris

To: <john.levon@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Make libelf build on Solaris
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sun, 28 Jan 2007 18:16:40 +0000
Delivery-date: Sun, 28 Jan 2007 10:16:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <132cc7bc2a356aa058b8.1170005910@xenbld>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdDCHSys05hXa77EduyTwANk04WTA==
Thread-topic: [Xen-devel] [PATCH] Make libelf build on Solaris
User-agent: Microsoft-Entourage/11.3.3.061214
On 28/1/07 4:38 pm, "john.levon@xxxxxxx" <john.levon@xxxxxxx> wrote:

> Make libelf build on Solaris.
> 
> libelf has a number of Linuxisms. Fix them up.

Does Solaris define __BYTE_ORDER, __LITTLE_ENDIAN, __BIG_ENDIAN in its
byteorder.h? It might make sense to have the libelf code use those instead
of the non-underscore-prefixed versions, and have the public libelf header
assume the caller has pulled in the necessary headers rather than having at
the namespace itself. I think there must be some rationalisation possible
here, especially now that Xen itself has byteorder headers.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>