[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 15/24] tests/tcg/i368: fix hello-i386
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v1 15/24] tests/tcg/i368: fix hello-i386 |
Date: |
Tue, 10 Apr 2018 20:39:10 +0100 |
This is a direct syscall test so needs additional CFLAGS and LDFLAGS.
Signed-off-by: Alex Bennée <address@hidden>
---
tests/tcg/i386/Makefile.target | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target
index 1df69e0dab..44803c0382 100644
--- a/tests/tcg/i386/Makefile.target
+++ b/tests/tcg/i386/Makefile.target
@@ -9,6 +9,12 @@ CFLAGS+=$(CROSS_CC_GUEST_CFLAGS)
endif
endif
+#
+# hello-i386 is a barebones app
+#
+hello-i386: CFLAGS+=-ffreestanding
+hello-i386: LDFLAGS+=-nostdlib
+
#
# test-386 includes a couple of additional objects that need to be linked
together
#
--
2.16.2
- Re: [Qemu-devel] [PATCH v1 09/24] tests/tcg: move architecture independent tests into subdir, (continued)
- [Qemu-devel] [PATCH v1 14/24] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 15/24] tests/tcg/i368: fix hello-i386,
Alex Bennée <=
- [Qemu-devel] [PATCH v1 18/24] tests/tcg/arm: fix hello-arm, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 24/24] tests/Makefile.include: add (clean-)check-tcg targets, Alex Bennée, 2018/04/10
- [Qemu-devel] [PATCH v1 23/24] Makefile.target: add (clean-)guest-tests targets, Alex Bennée, 2018/04/10