* sysdeps/unix/mips/fork.S (fork): Likewise.
* sysdeps/unix/mips/pipe.S (fork): Likewise.
* sysdeps/unix/mips/sigreturn.S (__sigreturn): Likewise.
* sysdeps/unix/mips/sysdep.S (sysdep_error): Likewise.
* sysdeps/unix/mips/wait.S (__handler): Likewise.
* sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
* sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
* sysdeps/unix/bsd/ultrix4/getsysinfo.S (getsysinfo): Likewise.
* sysdeps/unix/bsd/ultrix4/wait3.S (waitpid): Likewise.
* sysdeps/unix/bsd/ultrix4/waitpid.S (waitpid): Likewise.
* sysdeps/unix/bsd/ultrix4/mips/__handler.S (__handler): Likewise.
* sysdeps/unix/bsd/ultrix4/mips/sigvec.S (__raw_sigvec): Likewise.
* sysdeps/unix/bsd/ultrix4/mips/start.S (__start): Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S (vfork): Likewise.
* sysdeps/mips/bsd-_setjmp.S (setjmp): Likewise. Use `$0'
instead of `zero' for the li instruction.
16 files changed:
ENTRY (setjmp)
j C_SYMBOL_NAME (__sigsetjmp)
- li a1, zero /* Pass a second argument of zero. */
+ li a1, $0 /* Pass a second argument of zero. */
+ .end setjmp
ENTRY (setjmp)
j C_SYMBOL_NAME (__sigsetjmp)
li a1, 1 /* Pass a second argument of one. */
+ .end setjmp
move a3, $fp
#endif
j __sigsetjmp_aux
+ .end __sigsetjmp
SYSCALL__ (getsysinfo, 5)
ret
+ .end __getsysinfo
/* Do a sigreturn syscall; this doesn't return. */
la v0, __sigreturn
jal ra, v0
+ .end __handler
PSEUDO (__raw_sigvec, sigvec, 3)
ret
+ .end __raw_sigvec
/* Make the value returned by main be the argument to exit. */
jal exit
move a0, v0
+ .end __start
parent:
ret
nop
+ .end __vfork
weak_alias (__vfork, vfork)
SYSCALL__ (wait3, 3)
ret
+ .end __wait3
weak_alias (__wait3, wait3)
SYSCALL__ (waitpid, 3)
ret
+ .end __waitpid
weak_alias (__waitpid, waitpid)
.sdata
ENTRY(__curbrk)
.word __end
-
+ .end __curbrk
.text
.set noreorder
.set noat
nop
nop
nop
+ .end __brk
weak_alias (__brk, brk)
move v0, zero
parent:
ret
+ .end __fork
weak_alias (__fork, fork)
j ra
move v0, zero
nop
+ .end __pipe
weak_alias (__pipe, pipe)
ENTRY(__sigreturn)
li v0, SYS_sigreturn
syscall
+ .end __sigreturn
weak_alias (__sigreturn, sigreturn)
/* And just kick back a -1. */
j ra
li v0, -1
+ .end syscall_error
nop
noarg:
ret
+ .end __wait
weak_alias (__wait, wait)