aboutsummaryrefslogtreecommitdiff
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
commitd5bc737a32bc409066a717cf517bfebe3daa6013 (patch)
tree48c1f6b775198a2caf353b1d8ea1d821a0201987
parent4c3192f900bb7de34a64049e2ed2deddb9aba05d (diff)
downloadglibc-d5bc737a32bc409066a717cf517bfebe3daa6013.zip
glibc-d5bc737a32bc409066a717cf517bfebe3daa6013.tar.gz
glibc-d5bc737a32bc409066a717cf517bfebe3daa6013.tar.bz2
* sysdeps/mips/elf/start.S: Trim redundant code.
* sysdeps/mips/elf/start.S: Trim redundant code.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/mips/elf/start.S13
2 files changed, 4 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index ecc599a..b2ef50a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2000-06-06 Greg McGary <greg@mcgary.org>
+ * sysdeps/mips/elf/start.S: Trim redundant code.
+
* sysdeps/powerpc/memset.S: Define & use symbolic register names.
Use C comments throughout. Line up operands column with tabs.
* sysdeps/powerpc/strchr.S: Likewise.
diff --git a/sysdeps/mips/elf/start.S b/sysdeps/mips/elf/start.S
index 064fe7e..f2df8a5 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 */