Date: Thu, 13 Mar 2008 17:42:03 GMT From: "Randall R. Stewart" <rrs@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 137622 for review Message-ID: <200803131742.m2DHg3si087624@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=137622 Change 137622 by rrs@rrs-mips2-jnpr on 2008/03/13 17:42:02 We need not 4 bytes to the stack, but a divisiable by 8. Change it all to 16. Affected files ... .. //depot/projects/mips2-jnpr/src/lib/libc/mips/sys/sbrk.S#2 edit Differences ... ==== //depot/projects/mips2-jnpr/src/lib/libc/mips/sys/sbrk.S#2 (text+ko) ==== @@ -55,7 +55,7 @@ .cpload t9 .set reorder #endif - addu sp, sp, -4 + addu sp, sp, -16 sw s0, 0(sp) # Preserve s0 value in stack # it should be the same on return # We can't use v1 as temporary @@ -71,13 +71,13 @@ nop move v0, s0 # return old val of curbrk from above lw s0, 0(sp) - addu sp, sp, 4 + addu sp, sp, 16 sw a0, _C_LABEL(__curbrk) # save current val of curbrk from above j ra 1: lw s0, 0(sp) - addu sp, sp, 4 + addu sp, sp, 16 la t9, _C_LABEL(__cerror) jr t9 END(__sys_sbrk)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803131742.m2DHg3si087624>