[PATCH 3/3] configs/targets: Forbid TriCore to use legacy native endianness API

Philippe Mathieu-Daudé posted 3 patches 1 month, 3 weeks ago
[PATCH 3/3] configs/targets: Forbid TriCore to use legacy native endianness API
Posted by Philippe Mathieu-Daudé 1 month, 3 weeks ago
The qemu-system-tricore binary is buildable without a single
use of the legacy "native endian" API. Unset the transitional
TARGET_USE_LEGACY_NATIVE_ENDIAN_API definition to forbid
further uses of the legacy API.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 configs/targets/tricore-softmmu.mak | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configs/targets/tricore-softmmu.mak b/configs/targets/tricore-softmmu.mak
index 63e040ccc2b..781ce49a62f 100644
--- a/configs/targets/tricore-softmmu.mak
+++ b/configs/targets/tricore-softmmu.mak
@@ -1,3 +1,2 @@
 TARGET_ARCH=tricore
-TARGET_USE_LEGACY_NATIVE_ENDIAN_API=y
 TARGET_LONG_BITS=32
-- 
2.52.0


Re: [PATCH 3/3] configs/targets: Forbid TriCore to use legacy native endianness API
Posted by Richard Henderson 1 month, 1 week ago
On 12/19/25 08:32, Philippe Mathieu-Daudé wrote:
> The qemu-system-tricore binary is buildable without a single
> use of the legacy "native endian" API. Unset the transitional
> TARGET_USE_LEGACY_NATIVE_ENDIAN_API definition to forbid
> further uses of the legacy API.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   configs/targets/tricore-softmmu.mak | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/configs/targets/tricore-softmmu.mak b/configs/targets/tricore-softmmu.mak
> index 63e040ccc2b..781ce49a62f 100644
> --- a/configs/targets/tricore-softmmu.mak
> +++ b/configs/targets/tricore-softmmu.mak
> @@ -1,3 +1,2 @@
>   TARGET_ARCH=tricore
> -TARGET_USE_LEGACY_NATIVE_ENDIAN_API=y
>   TARGET_LONG_BITS=32

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~