* sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end.
* 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.
This commit is contained in:
parent
275f4b54f4
commit
487e658eeb
|
@ -25,4 +25,5 @@ Cambridge, MA 02139, USA. */
|
|||
|
||||
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
|
||||
|
|
|
@ -26,3 +26,4 @@ Cambridge, MA 02139, USA. */
|
|||
ENTRY (setjmp)
|
||||
j C_SYMBOL_NAME (__sigsetjmp)
|
||||
li a1, 1 /* Pass a second argument of one. */
|
||||
.end setjmp
|
||||
|
|
|
@ -29,3 +29,4 @@ ENTRY (__sigsetjmp)
|
|||
move a3, $fp
|
||||
#endif
|
||||
j __sigsetjmp_aux
|
||||
.end __sigsetjmp
|
||||
|
|
|
@ -23,3 +23,4 @@ Cambridge, MA 02139, USA. */
|
|||
|
||||
SYSCALL__ (getsysinfo, 5)
|
||||
ret
|
||||
.end __getsysinfo
|
||||
|
|
|
@ -111,3 +111,4 @@ ENTRY (__handler)
|
|||
/* Do a sigreturn syscall; this doesn't return. */
|
||||
la v0, __sigreturn
|
||||
jal ra, v0
|
||||
.end __handler
|
||||
|
|
|
@ -22,3 +22,4 @@ Cambridge, MA 02139, USA. */
|
|||
|
||||
PSEUDO (__raw_sigvec, sigvec, 3)
|
||||
ret
|
||||
.end __raw_sigvec
|
||||
|
|
|
@ -68,3 +68,4 @@ ENTRY(__start)
|
|||
/* Make the value returned by main be the argument to exit. */
|
||||
jal exit
|
||||
move a0, v0
|
||||
.end __start
|
||||
|
|
|
@ -29,5 +29,6 @@ SYSCALL__ (vfork, 0)
|
|||
parent:
|
||||
ret
|
||||
nop
|
||||
.end __vfork
|
||||
|
||||
weak_alias (__vfork, vfork)
|
||||
|
|
|
@ -20,5 +20,6 @@ Cambridge, MA 02139, USA. */
|
|||
|
||||
SYSCALL__ (wait3, 3)
|
||||
ret
|
||||
.end __wait3
|
||||
|
||||
weak_alias (__wait3, wait3)
|
||||
|
|
|
@ -20,5 +20,6 @@ Cambridge, MA 02139, USA. */
|
|||
|
||||
SYSCALL__ (waitpid, 3)
|
||||
ret
|
||||
.end __waitpid
|
||||
|
||||
weak_alias (__waitpid, waitpid)
|
||||
|
|
|
@ -30,7 +30,7 @@ Cambridge, MA 02139, USA. */
|
|||
.sdata
|
||||
ENTRY(__curbrk)
|
||||
.word __end
|
||||
|
||||
.end __curbrk
|
||||
.text
|
||||
.set noreorder
|
||||
.set noat
|
||||
|
@ -63,5 +63,6 @@ error: j syscall_error
|
|||
nop
|
||||
nop
|
||||
nop
|
||||
.end __brk
|
||||
|
||||
weak_alias (__brk, brk)
|
||||
|
|
|
@ -25,5 +25,6 @@ SYSCALL__ (fork, 0)
|
|||
move v0, zero
|
||||
parent:
|
||||
ret
|
||||
.end __fork
|
||||
|
||||
weak_alias (__fork, fork)
|
||||
|
|
|
@ -27,5 +27,6 @@ SYSCALL__ (pipe, 1)
|
|||
j ra
|
||||
move v0, zero
|
||||
nop
|
||||
.end __pipe
|
||||
|
||||
weak_alias (__pipe, pipe)
|
||||
|
|
|
@ -25,5 +25,6 @@ Cambridge, MA 02139, USA. */
|
|||
ENTRY(__sigreturn)
|
||||
li v0, SYS_sigreturn
|
||||
syscall
|
||||
.end __sigreturn
|
||||
|
||||
weak_alias (__sigreturn, sigreturn)
|
||||
|
|
|
@ -39,3 +39,4 @@ skip:
|
|||
/* And just kick back a -1. */
|
||||
j ra
|
||||
li v0, -1
|
||||
.end syscall_error
|
||||
|
|
|
@ -40,5 +40,6 @@ noerror:
|
|||
nop
|
||||
noarg:
|
||||
ret
|
||||
.end __wait
|
||||
|
||||
weak_alias (__wait, wait)
|
||||
|
|
Loading…
Reference in New Issue