This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Trim redundant code from sysdeps/mips/elf/start.S


On Tue, Jun 06, 2000 at 05:17:13PM -0700, Greg McGary wrote:

> The two arms of `#if __mips64' are identical except that mips64
> uses `dla' versus `la'.  This patch reconciles the two arms.

Please just remove the entire __mips64 stuff; the code is broken for
the not yet supported ABI64 anyway.  Patch below.

There probably alot more broken MIPS64 stuff in libc.  Some of this was
written when gcc still it's own homebrew SIM which was significantly
different from what later became the 64-bit ABI.

 Ralf

--- sysdeps/mips/elf/start.S.orig	Tue Jun 13 13:43:07 2000
+++ sysdeps/mips/elf/start.S	Tue Jun 13 13:43:24 2000
@@ -72,9 +72,6 @@
 #endif
 	move $31, $0
 
-#if (__mips64)
-# define la dla
-#endif
 	la $4, main		/* main */
 	lw $5, 0($29)		/* argc */
 	addu $6, $29, 4		/* argv  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]