* 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.

* 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:
Brendan Kehoe 1995-04-15 02:30:20 +00:00
parent dfd5ddb713
commit 77162807d7
17 changed files with 36 additions and 3 deletions

View File

@ -1,8 +1,25 @@
Fri Apr 14 18:49:03 1995 Brendan Kehoe (brendan@zen.org)
* 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.
* sysdeps/unix/bsd/osf/alpha/start.S: Change comments to be
preprocessor comments, not assembler comments.
* sysdeps/unix/bsd/osf/alpha/sysdep.h (NO_UNDERSCORES): Define.
Fri Apr 14 15:53:46 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>

View File

@ -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

View File

@ -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

View File

@ -29,3 +29,4 @@ ENTRY (__sigsetjmp)
move a3, $fp
#endif
j __sigsetjmp_aux
.end __sigsetjmp

View File

@ -23,3 +23,4 @@ Cambridge, MA 02139, USA. */
SYSCALL__ (getsysinfo, 5)
ret
.end __getsysinfo

View File

@ -111,3 +111,4 @@ ENTRY (__handler)
/* Do a sigreturn syscall; this doesn't return. */
la v0, __sigreturn
jal ra, v0
.end __handler

View File

@ -22,3 +22,4 @@ Cambridge, MA 02139, USA. */
PSEUDO (__raw_sigvec, sigvec, 3)
ret
.end __raw_sigvec

View File

@ -68,3 +68,4 @@ ENTRY(__start)
/* Make the value returned by main be the argument to exit. */
jal exit
move a0, v0
.end __start

View File

@ -29,5 +29,6 @@ SYSCALL__ (vfork, 0)
parent:
ret
nop
.end __vfork
weak_alias (__vfork, vfork)

View File

@ -20,5 +20,6 @@ Cambridge, MA 02139, USA. */
SYSCALL__ (wait3, 3)
ret
.end __wait3
weak_alias (__wait3, wait3)

View File

@ -20,5 +20,6 @@ Cambridge, MA 02139, USA. */
SYSCALL__ (waitpid, 3)
ret
.end __waitpid
weak_alias (__waitpid, waitpid)

View File

@ -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)

View File

@ -25,5 +25,6 @@ SYSCALL__ (fork, 0)
move v0, zero
parent:
ret
.end __fork
weak_alias (__fork, fork)

View File

@ -27,5 +27,6 @@ SYSCALL__ (pipe, 1)
j ra
move v0, zero
nop
.end __pipe
weak_alias (__pipe, pipe)

View File

@ -25,5 +25,6 @@ Cambridge, MA 02139, USA. */
ENTRY(__sigreturn)
li v0, SYS_sigreturn
syscall
.end __sigreturn
weak_alias (__sigreturn, sigreturn)

View File

@ -39,3 +39,4 @@ skip:
/* And just kick back a -1. */
j ra
li v0, -1
.end syscall_error

View File

@ -40,5 +40,6 @@ noerror:
nop
noarg:
ret
.end __wait
weak_alias (__wait, wait)