diff options
author | Miles Bader <miles@lsi.nec.co.jp> | 2003-02-21 10:17:43 +0000 |
---|---|---|
committer | Miles Bader <miles@lsi.nec.co.jp> | 2003-02-21 10:17:43 +0000 |
commit | 0c6f5b60ad2a8a75b01ff7d417510d3309592bf7 (patch) | |
tree | 3709038fec02d0a63e88c86e6a2f5e5015a48347 /libc/sysdeps/linux | |
parent | a8402400e78b35d43118078ac4eac7be9b13320a (diff) |
Reserve stack space for args we pass to __uClibc_main.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/v850/crt0.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/v850/crt0.S b/libc/sysdeps/linux/v850/crt0.S index db4ff3596..fe36d0af8 100644 --- a/libc/sysdeps/linux/v850/crt0.S +++ b/libc/sysdeps/linux/v850/crt0.S @@ -1,8 +1,8 @@ /* * libc/sysdeps/linux/v850/crt0.S -- Initial program entry point for linux/v850 * - * Copyright (C) 2001,2002 NEC Corporation - * Copyright (C) 2001,2002 Miles Bader <miles@gnu.org> + * Copyright (C) 2001,02,03 NEC Electronics Corporation + * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License. See the file COPYING.LIB in the main @@ -37,6 +37,7 @@ C_ENTRY(start): mov hilo(C_SYMBOL_NAME(_gp)), gp // tail-call uclibc's startup routine + addi -24, sp, sp // Stack space reserved for args jr C_SYMBOL_NAME(__uClibc_main) |