On Wed, Dec 24, 2025 at 6:10 PM Philippe Mathieu-Daudé
<philmd@linaro.org> wrote:
>
> All HPPA-related binaries are 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>
> ---
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
> configs/targets/hppa-linux-user.mak | 1 +
> configs/targets/hppa-softmmu.mak | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/configs/targets/hppa-linux-user.mak b/configs/targets/hppa-linux-user.mak
> index 59190f63358..a0c7398d599 100644
> --- a/configs/targets/hppa-linux-user.mak
> +++ b/configs/targets/hppa-linux-user.mak
> @@ -5,3 +5,4 @@ TARGET_SYSTBL=syscall.tbl
> TARGET_BIG_ENDIAN=y
> # Compromise to ease maintenance vs system mode
> TARGET_LONG_BITS=64
> +TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y
> diff --git a/configs/targets/hppa-softmmu.mak b/configs/targets/hppa-softmmu.mak
> index ea331107a08..003f9f46dcc 100644
> --- a/configs/targets/hppa-softmmu.mak
> +++ b/configs/targets/hppa-softmmu.mak
> @@ -1,3 +1,4 @@
> TARGET_ARCH=hppa
> TARGET_BIG_ENDIAN=y
> TARGET_LONG_BITS=64
> +TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y
> --
> 2.52.0
>