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 1/3] Add support for OpenBSD

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] Add support for OpenBSD
From: Anil Madhavapeddy <anil@xxxxxxxxxxxxx>
Date: Wed, 18 Oct 2006 17:01:06 +0100
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Oct 2006 09:28:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C15C05C8.2BD5%Keir.Fraser@xxxxxxxxxxxx>
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>
References: <C15C05C8.2BD5%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 18 Oct 2006, at 16:24, Keir Fraser wrote:


On 17/10/06 15:30, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

I made the xen kernel buildable on OpenBSD.
The first patch touches the buildsystem.

Why is elf_{i386,x86_64}_obsd needed? Is OpenBSD so very special it needs
its own linkage target architecture?

If I remember, these emulations are for W^X support on OpenBSD when we switched to elf from a.out a couple of years ago; it links sections in different address areas so that segment registers (on i386 32-bit anyway) can be used to ensure that no pages are simultaneously writable and executable.

- http://www.openbsd.org/papers/ven05-deraadt/index.html

-anil

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