Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/arch/arm/sys Use an unsigned comparison against min...



details:   https://anonhg.NetBSD.org/src/rev/c7c17bb94dfe
branches:  trunk
changeset: 556740:c7c17bb94dfe
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Dec 26 11:23:44 2003 +0000

description:
Use an unsigned comparison against minbrk.
>From Steve Woodford, inspired by a similar change to other archs from
OpenBSD.

diffstat:

 lib/libc/arch/arm/sys/brk.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ee407ed91db3 -r c7c17bb94dfe lib/libc/arch/arm/sys/brk.S
--- a/lib/libc/arch/arm/sys/brk.S       Fri Dec 26 11:21:48 2003 +0000
+++ b/lib/libc/arch/arm/sys/brk.S       Fri Dec 26 11:23:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: brk.S,v 1.6 2003/08/07 16:42:04 agc Exp $      */
+/*     $NetBSD: brk.S,v 1.7 2003/12/26 11:23:44 martin Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -69,7 +69,7 @@
         * if the address is below minbrk.
         */
        cmp     r0, r1
-       movlt   r0, r1
+       movcc   r0, r1
        mov     r2, r0
        SYSTRAP(break)
        bcs     PIC_SYM(CERROR, PLT)



Home | Main Index | Thread Index | Old Index