Marc-André Lureau
e03b56863d
Replace config-time define HOST_WORDS_BIGENDIAN
...
Replace a config-time define with a compile time condition
define (compatible with clang and gcc) that must be declared prior to
its usage. This avoids having a global configure time define, but also
prevents from bad usage, if the config header wasn't included before.
This can help to make some code independent from qemu too.
gcc supports __BYTE_ORDER__ from about 4.6 and clang from 3.2.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
[ For the s390x parts I'm involved in ]
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220323155743.1585078-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-06 10:50:37 +02:00
..
2021-10-14 09:50:56 +02:00
2022-03-22 14:40:51 +04:00
2020-08-21 06:30:20 -04:00
2021-10-20 04:37:55 -04:00
2020-08-21 06:30:20 -04:00
2021-07-08 14:41:59 -05:00
2021-05-14 12:28:01 +02:00
2021-11-19 10:14:30 +01:00
2021-10-20 04:37:55 -04:00
2021-05-01 10:03:51 +02:00
2021-05-01 10:03:52 +02:00
2022-03-06 16:06:16 -05:00
2022-02-06 04:33:50 -05:00
2021-12-22 08:13:05 +01:00
2021-02-19 06:29:05 +01:00
2020-08-21 06:30:20 -04:00
2021-12-22 08:13:05 +01:00
2022-02-04 09:07:43 -05:00
2021-01-29 15:54:42 +00:00
2021-01-29 15:54:42 +00:00
2021-01-29 15:54:44 +00:00
2020-09-29 02:14:30 -04:00
2021-12-21 10:50:22 +04:00
2020-08-21 06:30:20 -04:00
2020-11-04 12:00:02 -05:00
2022-02-21 10:13:23 +01:00
2022-02-21 10:13:23 +01:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2022-03-22 14:40:51 +04:00
2020-08-21 06:30:20 -04:00
2021-06-17 07:10:32 -05:00
2021-12-22 08:13:05 +01:00
2022-02-21 10:13:23 +01:00
2020-08-21 06:30:20 -04:00
2022-02-21 10:13:23 +01:00
2021-03-22 17:34:31 +08:00
2021-11-30 22:25:58 +01:00
2021-12-18 10:57:37 +01:00
2021-06-24 11:42:54 +02:00
2022-03-21 14:05:42 +01:00
2021-03-16 14:19:54 -04:00
2021-08-31 14:34:36 +02:00
2020-08-21 06:30:20 -04:00
2022-02-21 10:13:23 +01:00
2020-08-21 06:30:20 -04:00
2022-02-21 10:13:23 +01:00
2022-02-21 10:13:23 +01:00
2022-03-21 10:25:21 +01:00
2021-08-26 17:02:00 +01:00
2021-05-14 12:28:01 +02:00
2020-08-21 06:30:20 -04:00
2022-03-08 18:46:48 +01:00
2022-02-21 10:13:23 +01:00
2022-03-22 14:40:51 +04:00
2022-03-22 14:40:51 +04:00
2021-03-19 10:37:46 -04:00
2022-02-08 10:56:29 +00:00
2020-08-21 06:30:20 -04:00
2021-05-12 18:20:52 +02:00
2021-07-08 14:42:00 -05:00
2020-08-21 06:30:20 -04:00
2022-03-14 15:57:17 +01:00
2020-08-21 06:30:20 -04:00
2020-10-24 07:23:19 +02:00
2022-03-22 14:40:51 +04:00
2022-03-02 18:20:45 +00:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-01-19 15:45:14 +00:00
2022-03-22 14:40:51 +04:00
2020-10-27 11:10:32 +00:00
2021-05-14 12:28:01 +02:00
2020-12-10 11:30:44 +00:00
2022-03-02 19:27:36 +00:00
2021-06-17 07:10:32 -05:00
2020-11-20 13:34:22 +01:00
2020-11-20 13:35:33 +01:00
2021-10-01 15:27:56 +02:00
2021-07-26 21:09:39 +02:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-06-03 16:43:27 +01:00
2020-08-21 06:30:20 -04:00
2021-12-15 08:08:59 +01:00
2021-01-29 10:47:28 +00:00
2020-12-15 12:51:59 -05:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-11-02 15:57:20 +00:00
2021-03-18 09:22:55 +00:00
2020-08-21 06:30:20 -04:00
2021-02-16 17:15:39 +01:00
2021-07-09 10:38:19 +10:00
2021-05-14 12:28:01 +02:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-03-08 17:20:03 +00:00
2020-08-21 06:30:20 -04:00
2022-03-22 14:40:51 +04:00
2022-03-22 14:40:51 +04:00
2021-03-18 09:22:55 +00:00
2021-12-22 08:13:05 +01:00
2022-01-05 11:10:03 +01:00
2021-06-17 07:10:32 -05:00
2020-08-21 06:30:20 -04:00
2021-08-31 17:33:11 -04:00
2021-08-31 17:33:12 -04:00
2021-08-31 17:33:12 -04:00
2021-06-03 16:43:27 +01:00
2020-03-05 12:18:33 -05:00
2020-08-21 06:30:20 -04:00
2021-08-31 17:33:11 -04:00
2020-08-21 06:30:20 -04:00
2021-08-31 17:33:11 -04:00
2021-08-31 17:33:10 -04:00
2020-03-05 12:18:39 -05:00
2021-05-14 12:28:01 +02:00
2020-03-05 12:18:39 -05:00
2020-08-21 06:30:20 -04:00
2020-06-26 06:45:29 -04:00
2022-04-06 10:50:37 +02:00
2022-02-21 10:13:23 +01:00
2022-03-21 15:44:44 +01:00
2022-04-06 10:50:37 +02:00
2022-03-06 05:08:23 -05:00
2022-03-29 16:40:05 +01:00
2022-03-22 14:40:51 +04:00
2020-08-21 06:30:20 -04:00
2021-06-04 13:47:08 +02:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-01-29 10:47:28 +00:00