tcg/s390x: Return false on failure from patch_reloc
commit55dfd8fedceb1311d9cdded1a0f94b2da91a387d
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 30 Nov 2018 21:41:51 +0000 (30 21:41 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 17 Dec 2018 03:04:43 +0000 (17 06:04 +0300)
treeee1a46cb82b4b4724af43e7a6b1c975c3d686a61
parentd5132903518fadad579ef2de9e45fce98eefaa63
tcg/s390x: Return false on failure from patch_reloc

This does require an extra two checks within the slow paths
to replace the assert that we're moving.  Also add two checks
within existing functions that lacked any kind of assert for
out of range branch.

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