[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 39/43] softfloat: do not include glib headers
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v2 39/43] softfloat: do not include glib headers |
Date: |
Thu, 19 Apr 2018 14:58:57 +0100 |
From: "Emilio G. Cota" <address@hidden>
To ease the cross-compilation of softfloat.o.
Signed-off-by: Emilio G. Cota <address@hidden>
---
fpu/softfloat.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 70e0c40a1c..a2a5d4ea33 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -82,6 +82,7 @@ this code that are retained.
/* softfloat (and in particular the code in softfloat-specialize.h) is
* target-dependent and needs the TARGET_* macros.
*/
+#define QEMU_NO_GLIB
#include "qemu/osdep.h"
#include "qemu/bitops.h"
#include "fpu/softfloat.h"
@@ -105,6 +106,9 @@ this code that are retained.
*----------------------------------------------------------------------------*/
#include "softfloat-specialize.h"
+/* glib headers are not included due to QEMU_NO_GLIB */
+#define g_assert_not_reached() assert(false)
+
/*----------------------------------------------------------------------------
| Returns the fraction bits of the half-precision floating-point value `a'.
*----------------------------------------------------------------------------*/
--
2.17.0
- Re: [Qemu-devel] [PATCH v2 31/43] tests/tcg: enable building for MIPS, (continued)
- [Qemu-devel] [PATCH v2 23/43] tests/tcg/i386/test-i386: use modern vector_size attributes, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 30/43] tests/tcg: move MIPS specific tests into subdir, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 28/43] tests/tcg/aarch64: add fcvt test cases for AArch64, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 36/43] Makefile.target: add (clean-)guest-tests targets, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 38/43] osdep: disable glib-compat.h include with QEMU_NO_GLIB, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 12/43] tests/tcg: move architecture independent tests into subdir, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 39/43] softfloat: do not include glib headers,
Alex Bennée <=
- [Qemu-devel] [PATCH v2 26/43] tests/tcg/arm: fix up test-arm-iwmmxt test, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 41/43] tests/tcg/multiarch: add fp-test into multiarch set, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 25/43] tests/tcg: move ARM specific tests into subdir, Alex Bennée, 2018/04/19
- [Qemu-devel] [PATCH v2 19/43] tests/tcg/i386: fix test-i386, Alex Bennée, 2018/04/19