summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-05-06 04:32:07 +0000
committerMike Frysinger <vapier@gentoo.org>2006-05-06 04:32:07 +0000
commit7502d7850f53059f341ec07e860b6297157e817c (patch)
tree702ca50959f64246c913e8998ddaffdc24f2ef63 /libc
parente72492fd1a35ee6c2cb21ee88867b3a4e5bd4694 (diff)
expand comment a little more as to why _stdio_init() is weak thanks to mjn3
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/internals/__uClibc_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c
index 41848775f..ae595cf4e 100644
--- a/libc/misc/internals/__uClibc_main.c
+++ b/libc/misc/internals/__uClibc_main.c
@@ -227,6 +227,8 @@ void __uClibc_init(void)
/*
* 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();