@samitouri / QOSamiQemu / commits / 8bee653122

configs/targets: Restrict the legacy ldst_phys() API on ARM / Aarch64

Commit d751921cffd ("hw/arm/omap1: Remove omap_badwidth_* implementations") removed the last use of the legacy ldst_phys() API. Set the TARGET_NOT_USING_LEGACY_LDST_PHYS_API variable to hide the legacy API to the ARM / Aarch64 binaries, avoiding further API uses to creep in. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20260319104414.66367-1-philmd@linaro.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>

Philippe Mathieu-Daudé committed Mar 23, 2026 at 09:51 UTC 8bee653122e1743b53932294c79f13f1e611ab9a
2 files changed +2
configs/targets/aarch64-softmmu.mak
+1
@@ -5,3 +5,4 @@ TARGET_XML_FILES= aarch64-core.xml aarch64-fpu.xml arm-core.xml arm-vfp.xml arm-
5 # needed by boot.c
6 TARGET_NEED_FDT=y
7 TARGET_LONG_BITS=64
8 +TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y
configs/targets/arm-softmmu.mak
+1
@@ -3,3 +3,4 @@ TARGET_XML_FILES= arm-core.xml arm-vfp.xml arm-vfp3.xml arm-vfp-sysregs.xml arm-
3 # needed by boot.c
4 TARGET_NEED_FDT=y
5 TARGET_LONG_BITS=32
6 +TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y