From: Brendan Kehoe Date: Sat, 15 Apr 1995 02:30:20 +0000 (+0000) Subject: * sysdeps/unix/mips/brk.S (__brk, __curbrk): Add .end. X-Git-Tag: glibc-2.16-ports-merge^2~3928 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=487e658eebe1a69a45a6e74402ef299c704c8eb8;p=platform%2Fupstream%2Fglibc.git * 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. --- diff --git a/sysdeps/mips/bsd-_setjmp.S b/sysdeps/mips/bsd-_setjmp.S index 6e6844c..78776cd 100644 --- a/sysdeps/mips/bsd-_setjmp.S +++ b/sysdeps/mips/bsd-_setjmp.S @@ -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 diff --git a/sysdeps/mips/bsd-setjmp.S b/sysdeps/mips/bsd-setjmp.S index 5cd090a..4742462 100644 --- a/sysdeps/mips/bsd-setjmp.S +++ b/sysdeps/mips/bsd-setjmp.S @@ -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 diff --git a/sysdeps/mips/setjmp.S b/sysdeps/mips/setjmp.S index b3c0247..0f5dba3 100644 --- a/sysdeps/mips/setjmp.S +++ b/sysdeps/mips/setjmp.S @@ -29,3 +29,4 @@ ENTRY (__sigsetjmp) move a3, $fp #endif j __sigsetjmp_aux + .end __sigsetjmp diff --git a/sysdeps/unix/bsd/ultrix4/getsysinfo.S b/sysdeps/unix/bsd/ultrix4/getsysinfo.S index 1f5b2cf..41718ba 100644 --- a/sysdeps/unix/bsd/ultrix4/getsysinfo.S +++ b/sysdeps/unix/bsd/ultrix4/getsysinfo.S @@ -23,3 +23,4 @@ Cambridge, MA 02139, USA. */ SYSCALL__ (getsysinfo, 5) ret + .end __getsysinfo diff --git a/sysdeps/unix/bsd/ultrix4/mips/__handler.S b/sysdeps/unix/bsd/ultrix4/mips/__handler.S index 3ea697c..ca9c3fe 100644 --- a/sysdeps/unix/bsd/ultrix4/mips/__handler.S +++ b/sysdeps/unix/bsd/ultrix4/mips/__handler.S @@ -111,3 +111,4 @@ ENTRY (__handler) /* Do a sigreturn syscall; this doesn't return. */ la v0, __sigreturn jal ra, v0 + .end __handler diff --git a/sysdeps/unix/bsd/ultrix4/mips/sigvec.S b/sysdeps/unix/bsd/ultrix4/mips/sigvec.S index 20a5dd1..4d7aa44 100644 --- a/sysdeps/unix/bsd/ultrix4/mips/sigvec.S +++ b/sysdeps/unix/bsd/ultrix4/mips/sigvec.S @@ -22,3 +22,4 @@ Cambridge, MA 02139, USA. */ PSEUDO (__raw_sigvec, sigvec, 3) ret + .end __raw_sigvec diff --git a/sysdeps/unix/bsd/ultrix4/mips/start.S b/sysdeps/unix/bsd/ultrix4/mips/start.S index eec8ce0..24bcbb4 100644 --- a/sysdeps/unix/bsd/ultrix4/mips/start.S +++ b/sysdeps/unix/bsd/ultrix4/mips/start.S @@ -68,3 +68,4 @@ ENTRY(__start) /* Make the value returned by main be the argument to exit. */ jal exit move a0, v0 + .end __start diff --git a/sysdeps/unix/bsd/ultrix4/mips/vfork.S b/sysdeps/unix/bsd/ultrix4/mips/vfork.S index 37f6d80..05e4b87 100644 --- a/sysdeps/unix/bsd/ultrix4/mips/vfork.S +++ b/sysdeps/unix/bsd/ultrix4/mips/vfork.S @@ -29,5 +29,6 @@ SYSCALL__ (vfork, 0) parent: ret nop + .end __vfork weak_alias (__vfork, vfork) diff --git a/sysdeps/unix/bsd/ultrix4/wait3.S b/sysdeps/unix/bsd/ultrix4/wait3.S index 83910a5..930c67e 100644 --- a/sysdeps/unix/bsd/ultrix4/wait3.S +++ b/sysdeps/unix/bsd/ultrix4/wait3.S @@ -20,5 +20,6 @@ Cambridge, MA 02139, USA. */ SYSCALL__ (wait3, 3) ret + .end __wait3 weak_alias (__wait3, wait3) diff --git a/sysdeps/unix/bsd/ultrix4/waitpid.S b/sysdeps/unix/bsd/ultrix4/waitpid.S index b64e528..3470da7 100644 --- a/sysdeps/unix/bsd/ultrix4/waitpid.S +++ b/sysdeps/unix/bsd/ultrix4/waitpid.S @@ -20,5 +20,6 @@ Cambridge, MA 02139, USA. */ SYSCALL__ (waitpid, 3) ret + .end __waitpid weak_alias (__waitpid, waitpid) diff --git a/sysdeps/unix/mips/brk.S b/sysdeps/unix/mips/brk.S index 1754c0c..9c4ee26 100644 --- a/sysdeps/unix/mips/brk.S +++ b/sysdeps/unix/mips/brk.S @@ -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) diff --git a/sysdeps/unix/mips/fork.S b/sysdeps/unix/mips/fork.S index 2347bf4..17efcc9 100644 --- a/sysdeps/unix/mips/fork.S +++ b/sysdeps/unix/mips/fork.S @@ -25,5 +25,6 @@ SYSCALL__ (fork, 0) move v0, zero parent: ret + .end __fork weak_alias (__fork, fork) diff --git a/sysdeps/unix/mips/pipe.S b/sysdeps/unix/mips/pipe.S index f8ce56b..b9f376d 100644 --- a/sysdeps/unix/mips/pipe.S +++ b/sysdeps/unix/mips/pipe.S @@ -27,5 +27,6 @@ SYSCALL__ (pipe, 1) j ra move v0, zero nop + .end __pipe weak_alias (__pipe, pipe) diff --git a/sysdeps/unix/mips/sigreturn.S b/sysdeps/unix/mips/sigreturn.S index 1e76bf5..70ae0c2 100644 --- a/sysdeps/unix/mips/sigreturn.S +++ b/sysdeps/unix/mips/sigreturn.S @@ -25,5 +25,6 @@ Cambridge, MA 02139, USA. */ ENTRY(__sigreturn) li v0, SYS_sigreturn syscall + .end __sigreturn weak_alias (__sigreturn, sigreturn) diff --git a/sysdeps/unix/mips/sysdep.S b/sysdeps/unix/mips/sysdep.S index 21bdf23..f17ba44 100644 --- a/sysdeps/unix/mips/sysdep.S +++ b/sysdeps/unix/mips/sysdep.S @@ -39,3 +39,4 @@ skip: /* And just kick back a -1. */ j ra li v0, -1 + .end syscall_error diff --git a/sysdeps/unix/mips/wait.S b/sysdeps/unix/mips/wait.S index 63bce84..f1f4f9b 100644 --- a/sysdeps/unix/mips/wait.S +++ b/sysdeps/unix/mips/wait.S @@ -40,5 +40,6 @@ noerror: nop noarg: ret + .end __wait weak_alias (__wait, wait)