[uClibc-cvs] uClibc/libc/sysdeps/linux/powerpc crt0.S,1.7,1.8
Erik Andersen
andersen at uclibc.org
Fri May 14 10:51:14 UTC 2004
Update of /var/cvs/uClibc/libc/sysdeps/linux/powerpc
In directory nail:/tmp/cvs-serv22197/libc/sysdeps/linux/powerpc
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/powerpc/crt0.S,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/crt0.S 6 Mar 2003 15:03:33 -0000 1.7
+++ b/crt0.S 14 May 2004 10:51:10 -0000 1.8
@@ -79,12 +79,15 @@
#endif
.size _start,.-_start
- .section ".data"
- .globl __data_start
+/* 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