[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/32] osdep: poison {HOST,TARGET}_WORDS_BIGENDIAN
From: |
marcandre . lureau |
Subject: |
[PATCH 08/32] osdep: poison {HOST,TARGET}_WORDS_BIGENDIAN |
Date: |
Wed, 23 Mar 2022 19:57:19 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
include/qemu/osdep.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 9f06bf536fb1..95a14914d13b 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -34,6 +34,18 @@
#include "exec/poison.h"
#endif
+/*
+ * HOST_WORDS_BIGENDIAN was replaced with HOST_BIG_ENDIAN. Prevent it from
+ * creeping back in.
+ */
+#pragma GCC poison HOST_WORDS_BIGENDIAN
+
+/*
+ * TARGET_WORDS_BIGENDIAN was replaced with TARGET_BIG_ENDIAN. Prevent it from
+ * creeping back in.
+ */
+#pragma GCC poison TARGET_WORDS_BIGENDIAN
+
#include "qemu/compiler.h"
/* Older versions of C++ don't get definitions of various macros from
--
2.35.1.273.ge6ebfd0e8cbb
- [PATCH 00/32] Misc cleanups, marcandre . lureau, 2022/03/23
- [PATCH 01/32] meson: use chardev_ss dependencies, marcandre . lureau, 2022/03/23
- [PATCH 02/32] meson: add util dependency for oslib-posix on freebsd, marcandre . lureau, 2022/03/23
- [PATCH 03/32] meson: remove unneeded py3, marcandre . lureau, 2022/03/23
- [PATCH 04/32] meson: remove test-qdev-global-props dependency on testqapi, marcandre . lureau, 2022/03/23
- [PATCH 05/32] char: move qemu_openpty_raw from util/ to char/, marcandre . lureau, 2022/03/23
- [PATCH 06/32] Replace config-time define HOST_WORDS_BIGENDIAN, marcandre . lureau, 2022/03/23
- [PATCH 08/32] osdep: poison {HOST,TARGET}_WORDS_BIGENDIAN,
marcandre . lureau <=
- [PATCH 07/32] Replace TARGET_WORDS_BIGENDIAN, marcandre . lureau, 2022/03/23
- [PATCH 09/32] include/qapi: add g_autoptr support for qobject types, marcandre . lureau, 2022/03/23
- [PATCH 10/32] tests: replace free_all() usage with g_auto, marcandre . lureau, 2022/03/23
- [PATCH 12/32] qga: replace deprecated g_get_current_time(), marcandre . lureau, 2022/03/23
- [PATCH 11/32] Replace qemu_real_host_page variables with inlined functions, marcandre . lureau, 2022/03/23