svn commit: trunk/uClibc/libc/misc/internals

vapier at uclibc.org vapier at uclibc.org
Sat May 6 04:32:09 UTC 2006


Author: vapier
Date: 2006-05-05 21:32:07 -0700 (Fri, 05 May 2006)
New Revision: 15017

Log:
expand comment a little more as to why _stdio_init() is weak thanks to mjn3

Modified:
   trunk/uClibc/libc/misc/internals/__uClibc_main.c


Changeset:
Modified: trunk/uClibc/libc/misc/internals/__uClibc_main.c
===================================================================
--- trunk/uClibc/libc/misc/internals/__uClibc_main.c	2006-05-05 22:22:30 UTC (rev 15016)
+++ trunk/uClibc/libc/misc/internals/__uClibc_main.c	2006-05-06 04:32:07 UTC (rev 15017)
@@ -227,6 +227,8 @@
     /*
      * Initialize stdio here.  In the static library case, this will
      * be bypassed if not needed because of the weak alias above.
+     * Thus we get a nice size savings because the stdio functions
+     * won't be pulled into the final static binary unless used.
      */
     if (likely(_stdio_init != NULL))
 	_stdio_init();




More information about the uClibc-cvs mailing list