--- a/tools/tests/x86_emulator/Makefile 2014-09-20 10:13:14.725597054 +0100 +++ b/tools/tests/x86_emulator/Makefile 2014-09-20 10:13:41.537107466 +0100 @@ -28,7 +28,7 @@ endif $(TARGET): x86_emulate.o test_x86_emulator.o - $(HOSTCC) -o $@ $^ + $(HOSTCC) -fno-pie -o $@ $^ .PHONY: clean clean: @@ -43,7 +43,7 @@ HOSTCFLAGS += $(CFLAGS_xeninclude) x86_emulate.o: x86_emulate.c x86_emulate/x86_emulate.c x86_emulate/x86_emulate.h - $(HOSTCC) $(HOSTCFLAGS) -c -g -o $@ $< + $(HOSTCC) $(HOSTCFLAGS) -fno-pie -c -g -o $@ $< test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate/x86_emulate.h - $(HOSTCC) $(HOSTCFLAGS) -c -g -o $@ $< + $(HOSTCC) $(HOSTCFLAGS) -fno-pie -c -g -o $@ $<