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

Commit d751921cff ("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>
This commit is contained in:
Philippe Mathieu-Daudé
2026-03-23 09:51:01 +00:00
committed by Peter Maydell
parent 045981037b
commit 8bee653122
2 changed files with 2 additions and 0 deletions

View File

@@ -5,3 +5,4 @@ TARGET_XML_FILES= aarch64-core.xml aarch64-fpu.xml arm-core.xml arm-vfp.xml arm-
# needed by boot.c # needed by boot.c
TARGET_NEED_FDT=y TARGET_NEED_FDT=y
TARGET_LONG_BITS=64 TARGET_LONG_BITS=64
TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y

View File

@@ -3,3 +3,4 @@ TARGET_XML_FILES= arm-core.xml arm-vfp.xml arm-vfp3.xml arm-vfp-sysregs.xml arm-
# needed by boot.c # needed by boot.c
TARGET_NEED_FDT=y TARGET_NEED_FDT=y
TARGET_LONG_BITS=32 TARGET_LONG_BITS=32
TARGET_NOT_USING_LEGACY_LDST_PHYS_API=y