ia64/xen-unstable

view stubdom/gcc.patch @ 17062:0769835cf50f

x86 shadow: Reduce scope of shadow lock.

emulate_map_dest doesn't require holding lock, since
only shadow related operation possibly involved is to
remove shadow which is less frequent and can acquire
lock inside. Rest are either guest table walk or
per-vcpu monitor table manipulation

Signed-off-by Kevin Tian <kevin.tian@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 14 10:33:12 2008 +0000 (2008-02-14)
parents 2424c6a3a0ed
children
line source
1 Backported from later versions
3 --- gcc-4.2.2/gcc/config.gcc 2007-11-22 16:27:45.000000000 +0000
4 +++ gcc-4.2.2/gcc/config.gcc 2007-11-22 16:23:00.000000000 +0000
5 @@ -1033,6 +1033,11 @@
6 tmake_file="i386/t-i386elf t-svr4"
7 use_fixproto=yes
8 ;;
9 +x86_64-*-elf*)
10 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/x86-64.h"
11 + tmake_file="i386/t-i386elf t-svr4"
12 + use_fixproto=yes
13 + ;;
14 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
15 if test x$gas = xyes
16 then
18 We don't have a libc yet at this stage. Unused anyway
20 --- gcc-4.2.2/gcc/unwind-generic.h.orig 2008-01-11 18:54:40.000000000 +0100
21 +++ gcc-4.2.2/gcc/unwind-generic.h 2008-01-11 18:54:31.000000000 +0100
22 @@ -203,7 +203,6 @@
23 compatible with the standard ABI for IA-64, we inline these. */
25 #ifdef __ia64__
26 -#include <stdlib.h>
28 static inline _Unwind_Ptr
29 _Unwind_GetDataRelBase (struct _Unwind_Context *_C)
30 Backported from later versions