From 39624db737b70fa6a4f374262d014aa4b73e7456 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 10 Jun 2005 07:22:28 +0000 Subject: Finish updating mips for the new ABI --- libc/sysdeps/linux/mips/crt1.S | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'libc/sysdeps') 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 */ -- cgit v1.2.3