]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/openrisc: Replace MO_TE -> MO_BE
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 12 Mar 2025 09:27:08 +0000 (10:27 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 16 Oct 2025 15:07:28 +0000 (17:07 +0200)
commit4f6c60683f2033dd9177ca0bf1299ffea1c07dd9
tree7510a03e1ddc55898323b4a677032f9e9e47603b
parent73cd283e58d4a8f03ed8786e148ceedf676bee40
target/openrisc: Replace MO_TE -> MO_BE

We only build the OpenRISC targets using big endianness order:

  $ git grep TARGET_BIG_ENDIAN configs/targets/or1k-*
  configs/targets/or1k-linux-user.mak:2:TARGET_BIG_ENDIAN=y
  configs/targets/or1k-softmmu.mak:2:TARGET_BIG_ENDIAN=y

Therefore the MO_TE definition always expands to MO_BE. Use the
latter to simplify.

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