From: Philippe Mathieu-Daudé Date: Wed, 4 Feb 2026 21:44:46 +0000 (+0100) Subject: configs/targets: Restrict legacy ldst_phys() API on 32-bit SPARC target X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6172a4257e84ba5fc9b818ea7797d17bd730ada4;p=thirdparty%2Fqemu.git configs/targets: Restrict legacy ldst_phys() API on 32-bit SPARC target Since we removed the last legacy uses of the legacy ldst_phys() API, set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable to hide the legacy API to the qemu-system-sparc binary, avoiding further API uses to creep in. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20260204215304.52757-3-philmd@linaro.org> --- diff --git a/configs/targets/sparc-softmmu.mak b/configs/targets/sparc-softmmu.mak index 272fd46f6d..c4c38946d5 100644 --- a/configs/targets/sparc-softmmu.mak +++ b/configs/targets/sparc-softmmu.mak @@ -1,4 +1,5 @@ TARGET_ARCH=sparc TARGET_BIG_ENDIAN=y TARGET_LONG_BITS=32 +TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API=y