]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/sparc: Convert patch_reloc to return bool
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 5 Feb 2022 05:12:30 +0000 (08:12 +0300)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 8 Feb 2022 21:59:06 +0000 (08:59 +1100)
commit6a6bfa3c60ba70e870f8355b9d3508915c90c13a
tree19e28e410c8a0d486438494d22f24720749bf437
parent684db2a0b04ff024d0a275de85982fe5892185d3
tcg/sparc: Convert patch_reloc to return bool

Since 7ecd02a06f8, if patch_reloc fails we restart translation
with a smaller TB.  SPARC had its function signature changed,
but not the logic.  Replace assert with return false.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/sparc/tcg-target.c.inc