ia64/xen-unstable

changeset 18043:f5d23ee2134e

stubdom: missing fixes for old gcc

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jul 14 10:00:47 2008 +0100 (2008-07-14)
parents 54dec90cbea9
children b01303f59872
files stubdom/newlib.patch
line diff
     1.1 --- a/stubdom/newlib.patch	Fri Jul 11 15:37:31 2008 +0100
     1.2 +++ b/stubdom/newlib.patch	Mon Jul 14 10:00:47 2008 +0100
     1.3 @@ -538,3 +538,92 @@ diff -u -p -r1.1 memcpy.S
     1.4   
     1.5     leaq    128 (rdi), rdi
     1.6   
     1.7 +--- newlib/libm/machine/i386/i386mach.h.orig	2008-07-11 15:30:37.367227000 +0100
     1.8 ++++ newlib/libm/machine/i386/i386mach.h	2008-07-11 15:30:55.232337000 +0100
     1.9 +@@ -27,46 +27,46 @@
    1.10 +  
    1.11 + #define REG(x) CONCAT1(__REG_PREFIX__, x)
    1.12 +  
    1.13 +-#define eax REG(eax)
    1.14 +-#define ebx REG(ebx)
    1.15 +-#define ecx REG(ecx)
    1.16 +-#define edx REG(edx)
    1.17 +-#define esi REG(esi)
    1.18 +-#define edi REG(edi)
    1.19 +-#define ebp REG(ebp)
    1.20 +-#define esp REG(esp)
    1.21 +-
    1.22 +-#define st0 REG(st)
    1.23 +-#define st1 REG(st(1))
    1.24 +-#define st2 REG(st(2))
    1.25 +-#define st3 REG(st(3))
    1.26 +-#define st4 REG(st(4))
    1.27 +-#define st5 REG(st(5))
    1.28 +-#define st6 REG(st(6))
    1.29 +-#define st7 REG(st(7))
    1.30 +-
    1.31 +-#define ax REG(ax)
    1.32 +-#define bx REG(bx)
    1.33 +-#define cx REG(cx)
    1.34 +-#define dx REG(dx)
    1.35 +-
    1.36 +-#define ah REG(ah)
    1.37 +-#define bh REG(bh)
    1.38 +-#define ch REG(ch)
    1.39 +-#define dh REG(dh)
    1.40 +-
    1.41 +-#define al REG(al)
    1.42 +-#define bl REG(bl)
    1.43 +-#define cl REG(cl)
    1.44 +-#define dl REG(dl)
    1.45 +-
    1.46 +-#define mm1 REG(mm1)
    1.47 +-#define mm2 REG(mm2)
    1.48 +-#define mm3 REG(mm3)
    1.49 +-#define mm4 REG(mm4)
    1.50 +-#define mm5 REG(mm5)
    1.51 +-#define mm6 REG(mm6)
    1.52 +-#define mm7 REG(mm7)
    1.53 ++#define eax %eax
    1.54 ++#define ebx %ebx
    1.55 ++#define ecx %ecx
    1.56 ++#define edx %edx
    1.57 ++#define esi %esi
    1.58 ++#define edi %edi
    1.59 ++#define ebp %ebp
    1.60 ++#define esp %esp
    1.61 ++
    1.62 ++#define st0 %st
    1.63 ++#define st1 %st(1)
    1.64 ++#define st2 %st(2)
    1.65 ++#define st3 %st(3)
    1.66 ++#define st4 %st(4)
    1.67 ++#define st5 %st(5)
    1.68 ++#define st6 %st(6)
    1.69 ++#define st7 %st(7)
    1.70 ++
    1.71 ++#define ax %ax
    1.72 ++#define bx %bx
    1.73 ++#define cx %cx
    1.74 ++#define dx %dx
    1.75 ++
    1.76 ++#define ah %ah
    1.77 ++#define bh %bh
    1.78 ++#define ch %ch
    1.79 ++#define dh %dh
    1.80 ++
    1.81 ++#define al %al
    1.82 ++#define bl %bl
    1.83 ++#define cl %cl
    1.84 ++#define dl %dl
    1.85 ++
    1.86 ++#define mm1 %mm1
    1.87 ++#define mm2 %mm2
    1.88 ++#define mm3 %mm3
    1.89 ++#define mm4 %mm4
    1.90 ++#define mm5 %mm5
    1.91 ++#define mm6 %mm6
    1.92 ++#define mm7 %mm7
    1.93 + 
    1.94 + #ifdef _I386MACH_NEED_SOTYPE_FUNCTION
    1.95 + #define SOTYPE_FUNCTION(sym) .type SYM(sym),@function