target/cris: Fix use_goto_tb
commit06188c8981ca5d5386e22c82d5bd40e5f27c8492
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 20 Jun 2021 18:39:52 +0000 (20 11:39 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jun 2021 17:04:56 +0000 (29 10:04 -0700)
tree7c9eced19279a1ffac82fd76576a5bb63adb6797
parent1dd09c47f69be6e9dbdf18248730b2e20d72d1ef
target/cris: Fix use_goto_tb

Do not skip the page check for user-only -- mmap/mprotect can
still change page mappings.  Only check dc->base.pc_first, not
dc->ppc -- the start page is the only one that's relevant.

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/cris/translate.c