commit | 5c433a7aac1a34c199ed5a7a07f4f71349562a8f | [log] [tgz] |
---|---|---|
author | Emilio G. Cota <cota@braap.org> | Tue Apr 10 10:47:41 2018 -0400 |
committer | Richard Henderson <richard.henderson@linaro.org> | Wed May 09 10:12:21 2018 -0700 |
tree | 55a728503dbf3cd555a9d54ef560736d2d387782 | |
parent | 818c187781a0e9dcfd0cbaffd90c9485f2edcccd [diff] |
target/tilegx: 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> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>