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-05-10 15:41:50 -04:00
2021-06-02 06:51:09 +02:00
2021-07-21 07:45:38 -10:00
2020-11-15 17:04:40 +01:00
2016-07-12 16:20:46 +02:00
2019-07-15 15:39:02 +02:00
2021-07-26 06:56:41 -10:00
2022-04-06 10:50:37 +02:00
2022-03-22 14:40:51 +04:00
2021-01-07 05:09:41 -10:00
2022-02-21 13:30:20 +00:00
2021-06-25 14:24:24 +03:00
2022-03-22 14:46:11 +04:00
2021-06-04 13:50:01 +02:00
2020-06-23 15:46:05 +01:00
2022-03-04 18:14:40 +01:00
2022-02-14 17:11:25 +00:00
2022-03-04 08:50:41 -10:00
2019-06-12 13:20:20 +02:00
2021-01-24 20:10:54 +01:00
2019-06-11 20:22:09 +02:00
2021-12-21 10:50:22 +04:00
2020-12-10 12:15:18 -05:00
2021-12-21 10:50:22 +04:00
2019-05-13 08:58:55 +02:00
2012-12-19 08:32:39 +01:00
2022-03-22 14:46:18 +04:00
2022-03-06 06:19:47 -05:00
2021-02-07 20:38:34 +00:00
2016-06-07 18:19:23 +03:00
2020-11-15 17:04:40 +01:00
2017-10-16 20:57:13 +03:00
2019-05-22 12:38:54 -04:00
2022-03-07 09:33:30 +01:00
2020-10-15 16:06:27 +02:00
2022-04-06 10:50:37 +02:00
2022-02-21 13:30:20 +00:00
2021-03-09 21:47:45 +01:00
2022-04-06 10:50:37 +02:00
2021-02-03 08:00:33 -06:00
2022-03-15 13:57:44 +08:00
2019-05-13 08:58:55 +02:00
2022-03-04 18:18:26 +01:00
2021-06-16 15:03:26 +02:00
2022-03-22 14:40:51 +04:00
2022-03-22 14:40:51 +04:00
2022-02-21 13:30:20 +00:00
2022-03-29 16:30:55 +02:00
2022-03-07 13:16:49 +00:00
2019-09-11 08:46:17 +02:00
2022-02-21 13:30:20 +00:00
2021-11-08 12:27:23 +04:00
2022-02-21 13:30:20 +00:00
2019-09-24 12:18:47 +01:00
2020-12-10 17:16:44 +01:00
2019-01-11 15:46:55 +01:00
2021-12-21 10:50:22 +04:00
2022-03-22 14:46:11 +04:00
2016-07-12 16:20:46 +02:00
2021-07-14 14:33:53 +01:00
2021-11-04 10:32:01 +00:00
2019-05-13 08:58:55 +02:00
2018-02-05 18:09:45 +01:00
2021-06-25 14:24:24 +03:00
2019-06-12 13:20:20 +02:00
2021-05-26 14:49:46 +02:00
2022-02-09 12:08:42 +00:00
2022-03-22 14:40:51 +04:00
2018-09-26 08:55:54 -07:00
2019-04-18 22:18:59 +02:00
2020-09-23 16:07:44 +01:00
2022-03-22 14:40:51 +04:00
2021-06-25 14:22:21 +03:00
2020-09-23 16:07:44 +01:00
2022-03-04 18:14:40 +01:00
2022-03-22 14:40:51 +04:00
2021-06-21 05:49:01 +02:00
2020-09-23 16:07:44 +01:00
2021-06-18 10:59:53 -05:00
2021-07-21 07:45:38 -10:00
2019-05-13 08:58:55 +02:00
2019-05-13 08:58:55 +02:00
2021-06-16 15:03:26 +02:00
2021-06-16 15:03:26 +02:00
2021-06-16 15:03:26 +02:00
2017-09-06 10:12:02 +02:00
2019-06-12 13:20:20 +02:00
2016-02-23 12:43:05 +00:00
2022-03-21 15:44:44 +01:00
2021-11-16 09:43:44 +01:00
2020-06-16 14:49:05 +01:00
2022-03-08 22:27:34 +00:00
2018-08-24 20:26:37 +02:00
2019-02-01 13:46:45 +01:00
2016-09-15 15:32:22 +03:00
2021-02-08 11:19:51 +00:00
2020-05-14 15:03:08 +01:00
2021-09-07 09:08:24 +01:00
2022-02-01 13:49:15 +01:00
2018-10-02 19:09:12 +02:00
2022-03-07 11:49:30 +01:00
2021-01-19 14:38:51 +00:00
2021-04-01 15:27:44 +04:00