Files
qemu/configs/targets/rx-softmmu.mak
Philippe Mathieu-Daudé a68b332fc8 configs/targets: Forbid Renesas RX to use legacy native endianness API
The qemu-system-rx binary is buildable without a single
use of the legacy "native endian" API. Set the transitional
TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API definition to forbid
further uses of the legacy API.

Preliminary commits allowing this final change:

 . b0afb81271 target/rx: Inline translator_lduw() and translator_ldl()
 . 41a1b46c3b target/rx: Use explicit little-endian LD/ST API
 . de1f3d628e target/rx: Use little-endian variant of cpu_ld/st_data*()
 . 0f4af4e267 target/rx: Use MemOp type in gen_ld[u]() and gen_st()
 . 2062fa663c target/rx: Propagate DisasContext to generated helpers
 . 8b71fd6ffe target/rx: Propagate DisasContext to push() / pop()
 . 363fff6d1b target/rx: Propagate DisasContext to gen_ld[u]() and gen_st()
 . cb8e4556d5 target/rx: Factor mo_endian() helper out
 . f9903a8a23 target/rx: Replace MO_TE -> MO_LE

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20251224163304.91384-5-philmd@linaro.org>
2026-01-22 10:48:45 +01:00

8 lines
203 B
Makefile

TARGET_ARCH=rx
TARGET_XML_FILES= gdb-xml/rx-core.xml
# all boards require libfdt
TARGET_NEED_FDT=y
TARGET_LONG_BITS=32
TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y
TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y