ia64/xen-unstable

view tools/tests/blowfish.mk @ 19615:13a4f4e6d0a3

x86 hvm: Correctly emulate task switches into vm86 mode.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 19 02:12:04 2009 +0100 (2009-05-19)
parents 27e9687c5b3d
children
line source
2 override XEN_TARGET_ARCH = x86_32
3 XEN_ROOT = ../..
4 CFLAGS =
5 include $(XEN_ROOT)/tools/Rules.mk
7 # Disable PIE/SSP if GCC supports them. They can break us.
8 $(call cc-option-add,CFLAGS,CC,-nopie)
9 $(call cc-option-add,CFLAGS,CC,-fno-stack-protector)
10 $(call cc-option-add,CFLAGS,CC,-fno-stack-protector-all)
12 CFLAGS += -fno-builtin -msoft-float
14 .PHONY: all
15 all: blowfish.bin
17 blowfish.bin: blowfish.c
18 $(CC) $(CFLAGS) -c blowfish.c
19 $(LD) $(LDFLAGS_DIRECT) -N -Ttext 0x100000 -o blowfish.tmp blowfish.o
20 $(OBJCOPY) -O binary blowfish.tmp blowfish.bin
21 rm -f blowfish.tmp