ia64/xen-unstable

view config/StdGNU.mk @ 16412:8c305873f2b8

x86: Make IDT/GDT/LDT updates safe.

This involves either determining that the entry will not be
read/written while the update takes place, or atomically making the
entry 'present', or doing the entire write atomically, as appropriate.

This issue raised, and original patch provided, by Jan Beulich.

Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Nov 21 11:38:51 2007 +0000 (2007-11-21)
parents 3d13b318349a
children d57a94546911
line source
1 AS = $(CROSS_COMPILE)as
2 LD = $(CROSS_COMPILE)ld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CC) -E
5 AR = $(CROSS_COMPILE)ar
6 RANLIB = $(CROSS_COMPILE)ranlib
7 NM = $(CROSS_COMPILE)nm
8 STRIP = $(CROSS_COMPILE)strip
9 OBJCOPY = $(CROSS_COMPILE)objcopy
10 OBJDUMP = $(CROSS_COMPILE)objdump
12 MSGFMT = msgfmt
13 MSGMERGE = msgmerge
15 INSTALL = install
16 INSTALL_DIR = $(INSTALL) -d -m0755 -p
17 INSTALL_DATA = $(INSTALL) -m0644 -p
18 INSTALL_PROG = $(INSTALL) -m0755 -p
20 LIB64DIR = lib64
22 SOCKET_LIBS =
23 CURSES_LIBS = -lncurses
24 UTIL_LIBS = -lutil
25 SONAME_LDFLAG = -soname
26 SHLIB_CFLAGS = -shared
28 ifneq ($(debug),y)
29 # Optimisation flags are overridable
30 CFLAGS ?= -O2 -fomit-frame-pointer
31 else
32 # Less than -O1 produces bad code and large stack frames
33 CFLAGS ?= -O1 -fno-omit-frame-pointer
34 endif