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 asm-offsets to work with vanilla binutils

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Allow asm-offsets to work with vanilla binutils
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Jan 2006 01:28:10 +0000
Delivery-date: Sat, 14 Jan 2006 01:35:58 +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 djm@xxxxxxxxxxxxxxx
# Node ID 2884f14895d29b679ba9bc8747eccbe345e9e573
# Parent  2869bdd16bd4ca4eb4e58625765c7fc0c1ee6841
Allow asm-offsets to work with vanilla binutils
Necessary because SHARED_ARCHINFO_ADDR is negative
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 2869bdd16bd4 -r 2884f14895d2 xen/arch/ia64/asm-offsets.c
--- a/xen/arch/ia64/asm-offsets.c       Fri Jan 13 16:36:47 2006
+++ b/xen/arch/ia64/asm-offsets.c       Fri Jan 13 16:38:44 2006
@@ -15,7 +15,7 @@
 #define task_struct vcpu
 
 #define DEFINE(sym, val) \
-        asm volatile("\n->" #sym " %0 " #val : : "i" (val))
+        asm volatile("\n->" #sym " (%0) " #val : : "i" (val))
 
 #define BLANK() asm volatile("\n->" : : )
 
diff -r 2869bdd16bd4 -r 2884f14895d2 xen/arch/ia64/asm-xsi-offsets.c
--- a/xen/arch/ia64/asm-xsi-offsets.c   Fri Jan 13 16:36:47 2006
+++ b/xen/arch/ia64/asm-xsi-offsets.c   Fri Jan 13 16:38:44 2006
@@ -38,7 +38,7 @@
 #define task_struct vcpu
 
 #define DEFINE(sym, val) \
-        asm volatile("\n->" #sym " %0 " #val : : "i" (val))
+        asm volatile("\n->" #sym " (%0) " #val : : "i" (val))
 
 #define BLANK() asm volatile("\n->" : : )
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Allow asm-offsets to work with vanilla binutils, Xen patchbot -unstable <=