[uClibc-cvs] uClibc/libc/sysdeps/linux/v850 crt0.S,1.6,1.7

Miles Bader miles at uclibc.org
Fri Feb 21 10:17:47 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/v850
In directory winder:/tmp/cvs-serv19138

Modified Files:
	crt0.S 
Log Message:
Reserve stack space for args we pass to __uClibc_main.


Index: crt0.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/v850/crt0.S,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- crt0.S	25 Apr 2002 04:40:06 -0000	1.6
+++ crt0.S	21 Feb 2003 10:17:43 -0000	1.7
@@ -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 at gnu.org>
+ *  Copyright (C) 2001,02,03  NEC Electronics Corporation
+ *  Copyright (C) 2001,02,03  Miles Bader <miles at 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 @@
 	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)
 
 




More information about the uClibc-cvs mailing list