Emilio G. Cota 4e8b44b6c2 target/xtensa: avoid integer overflow in next_page PC check
If the PC is in the last page of the address space, next_page_start
overflows to 0. Fix it.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2018-05-09 10:12:21 -07:00
..
2018-03-26 14:17:04 -07:00
2018-03-16 09:40:34 -07:00
2018-03-16 09:40:34 -07:00
2018-03-16 09:40:34 -07:00
2018-02-09 05:05:11 +01:00