[PATCH] mips add PSEUDO_ENDs

Guido Guenther agx@sigxcpu.org
Mon Jan 13 04:56:00 GMT 2003


Hi,
Attached patch adds PSEUDO_END instead of .end in sysdeps/unix/mips/*.S
(this is needed when PSEUDO_END becomes less trivial, i.e. including
the SYSCALL_ERROR_HANDLER).
Regards,
 -- Guido
-------------- next part --------------
2003-01-10  Guido G??nther <agx@sigxcpu.org>

	* sysdeps/unix/mips/fork.S: add PSEUDO_END.
	* sysdeps/unix/mips/brk.S: Likewise.
	* sysdeps/unix/mips/pipe.S: Likewise.

Index: sysdeps/unix/mips/brk.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/mips/brk.S,v
retrieving revision 1.6
diff -u -r1.6 brk.S
--- sysdeps/unix/mips/brk.S	6 Jul 2001 04:56:11 -0000	1.6
+++ sysdeps/unix/mips/brk.S	10 Jan 2003 02:38:48 -0000
@@ -42,6 +42,6 @@
 	sw a0, __curbrk
 	move v0, zero
 	jr ra
-	.end __brk
+PSEUDO_END(__brk)
 
 weak_alias (__brk, brk)
Index: sysdeps/unix/mips/fork.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/mips/fork.S,v
retrieving revision 1.7
diff -u -r1.7 fork.S
--- sysdeps/unix/mips/fork.S	31 Dec 2002 20:37:28 -0000	1.7
+++ sysdeps/unix/mips/fork.S	10 Jan 2003 02:38:49 -0000
@@ -26,7 +26,7 @@
 	move v0, zero
 parent:
 	ret
-	.end __fork
-libc_hidden_def (__fork)
+PSEUDO_END(__fork)
 
+libc_hidden_def (__fork)
 weak_alias (__fork, fork)
Index: sysdeps/unix/mips/pipe.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/mips/pipe.S,v
retrieving revision 1.7
diff -u -r1.7 pipe.S
--- sysdeps/unix/mips/pipe.S	3 Aug 2002 06:57:49 -0000	1.7
+++ sysdeps/unix/mips/pipe.S	10 Jan 2003 02:38:49 -0000
@@ -27,7 +27,7 @@
 	/* Go out with a clean status.  */
 	move v0, zero
 	j ra
-	.end __pipe
+PSEUDO_END(__pipe)
 
 libc_hidden_def (__pipe)
 weak_alias (__pipe, pipe)


More information about the Libc-alpha mailing list