[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <john.levon@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdDCHSys05hXa77EduyTwANk04WTA==
  • Thread-topic: [Xen-devel] [PATCH] Make libelf build on Solaris

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.