Re: [PATCH v5 3/6] tcg/sparc: Convert patch_reloc to return bool

2022-02-06 Thread Peter Maydell
On Sun, 6 Feb 2022 at 10:31, Richard Henderson wrote: > > 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. > > Signed-off-by: Richard Henderson > --- > tcg/sparc/

[PATCH v5 3/6] tcg/sparc: Convert patch_reloc to return bool

2022-02-06 Thread Richard Henderson
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. Signed-off-by: Richard Henderson --- tcg/sparc/tcg-target.c.inc | 8 ++-- 1 file changed, 6 insertions(+), 2 dele