svn commit: trunk/uClibc/libc/sysdeps/linux/arm

vapier at uclibc.org vapier at uclibc.org
Sun Sep 18 08:07:19 UTC 2005


Author: vapier
Date: 2005-09-18 01:07:11 -0700 (Sun, 18 Sep 2005)
New Revision: 11496

Log:
declare _init/_fini weak if UCLIBC_CTOR_DTOR is not defined

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


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/arm/crt1.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/arm/crt1.S	2005-09-18 04:43:32 UTC (rev 11495)
+++ trunk/uClibc/libc/sysdeps/linux/arm/crt1.S	2005-09-18 08:07:11 UTC (rev 11496)
@@ -132,6 +132,14 @@
 	.word _fini(GOT)
 	.word _init(GOT)
 	.word main(GOT)
+#else
+# ifdef __UCLIBC_CTOR_DTOR__
+	.type _init,%function
+	.type _fini,%function
+# else
+	.weak _fini
+	.weak _init
+# endif
 #endif
 
 /* Define a symbol for the first piece of initialized data.  */




More information about the uClibc-cvs mailing list