[uClibc-cvs] uClibc/libc/sysdeps/linux/h8300 crt0.S,1.7,1.8
Erik Andersen
andersen at uclibc.org
Fri May 14 10:51:05 UTC 2004
Update of /var/cvs/uClibc/libc/sysdeps/linux/h8300
In directory nail:/tmp/cvs-serv22197/libc/sysdeps/linux/h8300
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/h8300/crt0.S,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/crt0.S 29 Apr 2003 14:46:31 -0000 1.7
+++ b/crt0.S 14 May 2004 10:51:02 -0000 1.8
@@ -37,7 +37,7 @@
mov.l @(4,sp),er1 /* argv */
mov.l @(8,sp),er2 /* envp */
jsr @___uClibc_main
-
+
/* If that didn't kill us, ... */
__exit:
mov.l er0,er1
@@ -58,3 +58,12 @@
.set atexit,empty_func
#endif
+
+/* 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
+
More information about the uClibc-cvs
mailing list