configs/targets: Forbid Hexagon to use legacy native endianness API

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:

 . dffb3938aa target/hexagon: Use little-endian variant of cpu_ld/st_data*()
 . 989b25c73b target/hexagon: Inline translator_ldl()
 . beb38fda0f target/hexagon: Replace MO_TE -> MO_LE
 . fdcb7483ae 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>
This commit is contained in:
Philippe Mathieu-Daudé
2025-12-19 10:59:04 +01:00
parent 8b2f859063
commit d78a07fb21

View 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