diff options
author | Emilio G. Cota <cota@braap.org> | 2018-04-10 10:46:58 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-05-09 10:12:21 -0700 |
commit | 4302303d3c1f6f40b92791702f74d783a51ae60c (patch) | |
tree | 3353637fb3fefc65c019932ddee2595da32bf9d5 /target/xtensa | |
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>
Diffstat (limited to 'target/xtensa')
0 files changed, 0 insertions, 0 deletions