Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/arch/pmax/stand/common
> brk:
> syscall
> la t0 _C_LABEL
> sw v0 0(t0)
>
> and the new one:
>
> brk:
> la t0 _C_LABEL
> syscall
> sw v0 0(t0)
sbrk.S is that case:
http://cvsweb.NetBSD.org/bsdweb.cgi/src/lib/libc/arch/mips/sys/sbrk.S.diff?r1=1.16&r2=1.17
---
- lw v1, _C_LABEL(__curbrk)
+ PTR_LA t0, _C_LABEL(__curbrk)
+ PTR_L v1, 0(t0)
- syscall
+ SYSTRAP(break)
- move v0, v1 # return old val of curbrk from above
- sw a0, _C_LABEL(__curbrk) # save current val of curbrk from above
+ move v0, v1 # return old val of curbrk from above
+ PTR_S a0, 0(t0) # save current val of curbrk from above
---
but shouldn't we fix stub first, then discuss pros and blah of the change?
Current binaries have not worked at all on MIPS1 since the last December.
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index