[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Allow asm-offsets to work with vanilla binutils
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |