aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-06-07 00:30:05 +0000
committerGreg McGary <greg@mcgary.org>2000-06-07 00:30:05 +0000
commitfa39016a273e4dc5f0202d430ee4b5b50a8cc077 (patch)
tree00743b2eaa73855105f6004b32f17055a12b9baf /sysdeps/mips
parenteb29107be81b4fe8c2126a00833e55bb07d024cd (diff)
downloadglibc-fa39016a273e4dc5f0202d430ee4b5b50a8cc077.tar
glibc-fa39016a273e4dc5f0202d430ee4b5b50a8cc077.tar.gz
glibc-fa39016a273e4dc5f0202d430ee4b5b50a8cc077.tar.bz2
glibc-fa39016a273e4dc5f0202d430ee4b5b50a8cc077.zip
* sysdeps/mips/elf/start.S: Trim redundant code.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/elf/start.S13
1 files changed, 2 insertions, 11 deletions
diff --git a/sysdeps/mips/elf/start.S b/sysdeps/mips/elf/start.S
index 064fe7e6f4..f2df8a5676 100644
--- a/sysdeps/mips/elf/start.S
+++ b/sysdeps/mips/elf/start.S
@@ -73,16 +73,8 @@ ENTRY_POINT:
move $31, $0
#if (__mips64)
- dla $4, main /* main */
- lw $5, 0($29) /* argc */
- addu $6, $29, 4 /* argv */
- /* Allocate space on the stack for seven arguments and make sure
- the stack is aligned to double words (8 bytes). */
- and $29, 0xfffffff8
- subu $29, 32
- dla $7, _init /* init */
- dla $8, _fini
-#else
+# define la dla
+#endif
la $4, main /* main */
lw $5, 0($29) /* argc */
addu $6, $29, 4 /* argv */
@@ -92,7 +84,6 @@ ENTRY_POINT:
subu $29, 32
la $7, _init /* init */
la $8, _fini
-#endif
sw $8, 16($29) /* fini */
sw $2, 20($29) /* rtld_fini */
sw $29, 24($29) /* stack_end */