commit | 4302303d3c1f6f40b92791702f74d783a51ae60c | [log] [tgz] |
---|---|---|
author | Emilio G. Cota <cota@braap.org> | Tue Apr 10 10:46:58 2018 -0400 |
committer | Richard Henderson <richard.henderson@linaro.org> | Wed May 09 10:12:21 2018 -0700 |
tree | 3353637fb3fefc65c019932ddee2595da32bf9d5 | |
parent | 3ac5e413c00511d10d69b8b55fc06cc0c54bd45f [diff] |
target/lm32: 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: Michael Walle <michael@walle.cc> Cc: Michael Walle <michael@walle.cc> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>