aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/i386/Makefile.softmmu-target
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-03-06 16:44:47 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-06-12 17:53:23 +0100
commitdb61edad7ab9d1741922d6c62b5ff6d070e980df (patch)
treecf90767070ac8b91c6f798de46223808bdfb96a0 /tests/tcg/i386/Makefile.softmmu-target
parent2736b5cbee8aaf1af668693edacf261851565cc0 (diff)
tests/tcg/x86_64: add a PVH crt.o for x86_64 system tests
Instead of doing the full real to 64 bit dance we are attempting to leverage Xen's PVH boot spec to go from 32 bit to 64 bit. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/tcg/i386/Makefile.softmmu-target')
-rw-r--r--tests/tcg/i386/Makefile.softmmu-target1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcg/i386/Makefile.softmmu-target b/tests/tcg/i386/Makefile.softmmu-target
index e1d880f9b5..0a4364868c 100644
--- a/tests/tcg/i386/Makefile.softmmu-target
+++ b/tests/tcg/i386/Makefile.softmmu-target
@@ -14,6 +14,7 @@ CRT_OBJS=boot.o
ifeq ($(TARGET_X86_64), y)
CRT_PATH=$(X64_SYSTEM_SRC)
+CFLAGS=-march=x86-64
LINK_SCRIPT=$(X64_SYSTEM_SRC)/kernel.ld
LDFLAGS=-Wl,-T$(LINK_SCRIPT) -Wl,-melf_x86_64
else