[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/powerpc
jocke at uclibc.org
jocke at uclibc.org
Wed Jun 29 22:42:28 UTC 2005
Author: jocke
Date: 2005-06-29 16:42:27 -0600 (Wed, 29 Jun 2005)
New Revision: 10629
Log:
declare init/fini as weak if __UCLIBC_CTOR_DTOR__ is turned off
Modified:
trunk/uClibc/libc/sysdeps/linux/powerpc/crt1.S
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/powerpc/crt1.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/powerpc/crt1.S 2005-06-29 22:30:12 UTC (rev 10628)
+++ trunk/uClibc/libc/sysdeps/linux/powerpc/crt1.S 2005-06-29 22:42:27 UTC (rev 10629)
@@ -16,6 +16,7 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <features.h>
/* Integer registers. */
#define r0 0
#define r1 1
@@ -36,6 +37,10 @@
.type _start,%function
.type _init,%function
.type _fini,%function
+#ifndef __UCLIBC_CTOR_DTOR__
+ .weak _init
+ .weak _fini
+#endif
.type main,%function
.type __uClibc_main,%function
More information about the uClibc-cvs
mailing list