PATCH: Trim redundant code from sysdeps/mips/elf/start.S
Ralf Baechle
ralf@uni-koblenz.de
Tue Jun 13 06:55:00 GMT 2000
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 */
More information about the Libc-hacker
mailing list