diff options
author | Emilio G. Cota <cota@braap.org> | 2018-04-10 10:46:45 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2018-05-09 10:12:21 -0700 |
commit | 3ac5e413c00511d10d69b8b55fc06cc0c54bd45f (patch) | |
tree | 475bbefafd87930cff62b0f799701b91fee7e0f9 /rules.mak | |
parent | 33572269a54ba6339ce00537abfa434e4ffc95c2 (diff) |
target/cris: 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>
Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'rules.mak')
0 files changed, 0 insertions, 0 deletions