summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-03-27 18:30:15 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-06-05 12:04:28 -0700
commitd3ae5f5d4faf535aa50243241e48dddb488cfa9c (patch)
tree751c400e41136da7628f0f75df52d8d3bcf3575b /tcg/optimize.c
parentd46259c037e51fb6516199305fe8f0994df3d46e (diff)
downloadfocaccia-qemu-d3ae5f5d4faf535aa50243241e48dddb488cfa9c.tar.gz
focaccia-qemu-d3ae5f5d4faf535aa50243241e48dddb488cfa9c.zip
target/arm: Fix test of TCG_OVERSIZED_GUEST
The symbol is always defined, even if to 0.  We wanted to test for
TCG_OVERSIZED_GUEST == 0.

This fixed, the #error is reached while building arm-softmmu, because
TCG_OVERSIZED_GUEST is not true (nor supposed to be true) for arm32
guest on a 32-bit host.  But that's ok, because this feature doesn't
apply to arm32.  Add an #ifdef for TARGET_AARCH64.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions