changeset 92:bfed7a5c21a6

target-utils/libc/bzero.S: changed signed conditions to unsigned
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 28 Oct 2016 23:45:49 +0000
parents 659fa1a26269
children a675cec34076
files target-utils/libc/bzero.S
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/target-utils/libc/bzero.S	Fri Oct 28 23:15:01 2016 +0000
+++ b/target-utils/libc/bzero.S	Fri Oct 28 23:45:49 2016 +0000
@@ -39,8 +39,8 @@
  * r3 = 0, and we know that the pointer in r0 is aligned to a word boundary.
  */
 3:	subs	r1, r1, #4
-	strge	r2, [r0], #4
-	bgt	3b			@ 1
+	strcs	r2, [r0], #4
+	bhi	3b			@ 1
 	bxeq	lr			@ 1/2 quick exit
 /*
  * No need to correct the count; we're only testing bits from now on