]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/xtensa: Evaluate TARGET_BIG_ENDIAN at compile time
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 17 Apr 2025 08:40:29 +0000 (10:40 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 25 Apr 2025 15:09:58 +0000 (17:09 +0200)
commit770f2e64b6a6ae13c00cd1cc083eaf9728c0f934
treeec5840182bda028a9bca67e1ec9adf5e0d08d08e
parent33fa8f02a91986c6c3e7de748964a312c14a5a0d
target/xtensa: Evaluate TARGET_BIG_ENDIAN at compile time

Rather than evaluating TARGET_BIG_ENDIAN at preprocessing
time via #ifdef'ry, do it in C at compile time

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250417131004.47205-6-philmd@linaro.org>
target/xtensa/translate.c