From 7b6870db2200f65a02f49a3951dc3de63c24c1d6 Mon Sep 17 00:00:00 2001 From: John Reiser Date: Tue, 28 Mar 2006 16:56:38 +0000 Subject: [PATCH] Fix bug: bad test for reaching back too far in SAFE mode. (Thank you, Laszlo.) committer: jreiser 1143564998 +0000 --- src/stub/arm_nrv2e_d8.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub/arm_nrv2e_d8.S b/src/stub/arm_nrv2e_d8.S index b111d70f..af01d12d 100644 --- a/src/stub/arm_nrv2e_d8.S +++ b/src/stub/arm_nrv2e_d8.S @@ -162,7 +162,7 @@ near_n2e: #if 1==SAFE /*{*/ ldr tmp,[sp,#sp_DST0] sub tmp,dst - sub tmp,off; bcc bad_dst_n2e @ reaching back too far + sub tmp,off; bhi bad_dst_n2e @ reaching back too far add tmp,dst,cnt cmp tmp,dstlim; bhi bad_dst_n2e @ too much output