]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/mips/tcg-target.c.inc
tcg: Return success from patch_reloc
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 30 Nov 2018 19:52:48 +0000 (11:52 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 17 Dec 2018 03:04:43 +0000 (06:04 +0300)
commit6ac1778676f4259c10b0629ccd9df319a5d1baeb
tree3ca241f2b2279e251ad0803028165c25393b8aac
parent8c1b079279fadaee10dc39ca9a58c4c91c7a1854
tcg: Return success from patch_reloc

This will move the assert for success from within (subroutines of)
patch_reloc into the callers.  It will also let new code do something
different when a relocation is out of range.

For the moment, all backends are trivially converted to return true.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/aarch64/tcg-target.inc.c
tcg/arm/tcg-target.inc.c
tcg/i386/tcg-target.inc.c
tcg/mips/tcg-target.inc.c
tcg/ppc/tcg-target.inc.c
tcg/s390/tcg-target.inc.c
tcg/sparc/tcg-target.inc.c
tcg/tcg.c
tcg/tci/tcg-target.inc.c