aboutsummaryrefslogtreecommitdiff
path: root/target/tilegx
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-04-10 10:47:28 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-05-09 10:12:21 -0700
commit818c187781a0e9dcfd0cbaffd90c9485f2edcccd (patch)
tree588ff81000fe5e06ee0156cabb4ba88bcb0eb394 /target/tilegx
parent4e8b44b6c2350e02ca8e410d40022122b4038bd5 (diff)
target/unicore32: 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: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/tilegx')
0 files changed, 0 insertions, 0 deletions