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-changelog

[Xen-changelog] allow compilation of 32 bits on biarch 64 bits.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] allow compilation of 32 bits on biarch 64 bits.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Jan 2006 14:36:13 +0000
Delivery-date: Tue, 31 Jan 2006 15:04:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID d8598a7db684b999125487e797eb2230caf99ec3
# Parent  9532090d250f1cbd3cefce69739b99033115191b
allow compilation of 32 bits on biarch 64 bits.

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r 9532090d250f -r d8598a7db684 linux-2.6-xen-sparse/arch/i386/Makefile
--- a/linux-2.6-xen-sparse/arch/i386/Makefile   Tue Jan 31 11:03:11 2006
+++ b/linux-2.6-xen-sparse/arch/i386/Makefile   Tue Jan 31 12:00:25 2006
@@ -16,6 +16,13 @@
 #
 # 20050320  Kianusch Sayah Karadji <kianusch@xxxxxxxxxxx>
 #           Added support for GEODE CPU
+
+HAS_BIARCH      := $(call cc-option-yn, -m32)
+ifeq ($(HAS_BIARCH),y)
+AS              := $(AS) --32
+LD              := $(LD) -m elf_i386
+CC              := $(CC) -m32
+endif
 
 LDFLAGS                := -m elf_i386
 OBJCOPYFLAGS   := -O binary -R .note -R .comment -S

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] allow compilation of 32 bits on biarch 64 bits., Xen patchbot -unstable <=