From 0c6f5b60ad2a8a75b01ff7d417510d3309592bf7 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 21 Feb 2003 10:17:43 +0000 Subject: Reserve stack space for args we pass to __uClibc_main. --- libc/sysdeps/linux/v850/crt0.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libc/sysdeps') 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 + * Copyright (C) 2001,02,03 NEC Electronics Corporation + * Copyright (C) 2001,02,03 Miles Bader * * 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) -- cgit v1.2.3