]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
configs/targets: Forbid Hexagon to use legacy native endianness API
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 19 Dec 2025 09:59:04 +0000 (10:59 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Jan 2026 09:48:45 +0000 (10:48 +0100)
The qemu-hexagon 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:

 . dffb3938aa4 target/hexagon: Use little-endian variant of cpu_ld/st_data*()
 . 989b25c73b7 target/hexagon: Inline translator_ldl()
 . beb38fda0f0 target/hexagon: Replace MO_TE -> MO_LE
 . fdcb7483ae0 target/hexagon: Explode MO_TExx -> MO_TE | MO_xx

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-ID: <20251224160708.89085-4-philmd@linaro.org>

configs/targets/hexagon-linux-user.mak

index aec1a04d1b4cdbb4d1c52f5561ac06c55816941f..6763e2111d5126c94d3de1062e733c1b2eb86f3f 100644 (file)
@@ -3,3 +3,4 @@ TARGET_XML_FILES=gdb-xml/hexagon-core.xml gdb-xml/hexagon-hvx.xml
 TARGET_SYSTBL=syscall.tbl
 TARGET_SYSTBL_ABI=common,32,hexagon,time32,stat64,rlimit,renameat
 TARGET_LONG_BITS=32
+TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y