[uClibc-cvs] uClibc/libc/sysdeps/linux/sh crt0.S,1.13,1.14

Erik Andersen andersen at uclibc.org
Fri May 14 10:51:16 UTC 2004


Update of /var/cvs/uClibc/libc/sysdeps/linux/sh
In directory nail:/tmp/cvs-serv22197/libc/sysdeps/linux/sh

Modified Files:
	crt0.S 
Log Message:
__data_start needs to be added to all crt0.S files that don't currently
have it.  It is used by the boehm gc, amoung other things.


Index: crt0.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/sh/crt0.S,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- a/crt0.S	6 Mar 2003 13:57:30 -0000	1.13
+++ b/crt0.S	14 May 2004 10:51:12 -0000	1.14
@@ -70,7 +70,7 @@
 	jmp @r0
 	nop
 
-_start_end:	
+_start_end:
 	.align	2
 
 L_main:
@@ -101,7 +101,7 @@
 	mov.l L_abort, r0
 	jmp @r0
 	nop
-_start_end:	
+_start_end:
 	.align	2
 
 L_main:
@@ -124,9 +124,18 @@
 
 #endif
 
-L_abort: 
-      .long   abort   
+L_abort:
+      .long   abort
+
+/* Define a symbol for the first piece of initialized data.  */
+	.data
+	.globl __data_start
+__data_start:
+	.long 0
+	.weak data_start
+	data_start = __data_start
 
 #if defined L_gcrt1 && defined __UCLIBC_PROFILING__
 # include "./gmon-start.S"
 #endif
+




More information about the uClibc-cvs mailing list