[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/i386

vapier at uclibc.org vapier at uclibc.org
Wed Jun 29 00:43:32 UTC 2005


Author: vapier
Date: 2005-06-28 18:43:31 -0600 (Tue, 28 Jun 2005)
New Revision: 10616

Log:
declare init/fini as weak if __UCLIBC_CTOR_DTOR__ is turned off

Modified:
   trunk/uClibc/libc/sysdeps/linux/i386/crt1.S


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/i386/crt1.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/i386/crt1.S	2005-06-29 00:37:19 UTC (rev 10615)
+++ trunk/uClibc/libc/sysdeps/linux/i386/crt1.S	2005-06-29 00:43:31 UTC (rev 10616)
@@ -57,8 +57,13 @@
 	.text
 	.globl	_start
 	.type	_start, at function
+#if defined(__UCLIBC_CTOR_DTOR__)
 	.type	_init,%function
 	.type	_fini,%function
+#else
+	.weak	_init
+	.weak	_fini
+#endif
 	.type	main,%function
 	.type	__uClibc_main,%function
 _start:




More information about the uClibc-cvs mailing list