summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-06-10 07:22:28 +0000
committerEric Andersen <andersen@codepoet.org>2005-06-10 07:22:28 +0000
commit39624db737b70fa6a4f374262d014aa4b73e7456 (patch)
tree7c59e5c543f701241fc0ded1813b47bddb7e67ca /libc/sysdeps/linux/mips
parent471547253f18dfd4f6a11cb786f97782f9861772 (diff)
Finish updating mips for the new ABI
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r--libc/sysdeps/linux/mips/crt1.S22
1 files changed, 11 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/mips/crt1.S b/libc/sysdeps/linux/mips/crt1.S
index 82090ae15..4c00bd081 100644
--- a/libc/sysdeps/linux/mips/crt1.S
+++ b/libc/sysdeps/linux/mips/crt1.S
@@ -70,12 +70,12 @@
*/
.text
- .global __start
- .type __start,%function
- .type _init,%function
- .type _fini,%function
- .type main,%function
- .type __uClibc_main,%function
+ .globl __start
+ .type __start,@function
+ .type _init,@function
+ .type _fini,@function
+ .type main,@function
+ .type __uClibc_start_main,@function
__start:
#ifdef __PIC__
@@ -84,8 +84,8 @@ __start:
bal 10f /* Find addr of cpload. */
nop
10:
- .cpload $31;
- move $31, $0;
+ .cpload $31
+ move $31, $0
.set reorder
#else
la $28, _gp /* Setup GP correctly if we're non-PIC. */
@@ -97,9 +97,9 @@ __start:
lw $5, 0($29) /* argc */
addiu $6, $29, 4 /* argv */
- /* Allocate space on the stack for seven arguments (o32 only)
- and make sure the stack is aligned to double words (8 bytes)
- on o32 and quad words (16 bytes) on n32 and n64. */
+ /* Allocate space on the stack for seven arguments and
+ * make sure the stack is aligned to double words (8 bytes) */
+
and $29, -2 * 4
subu $29, 32
la $7, _init /* init */