bionic/libc
Elliott Hughes 91570ce987 Slim down static binaries by avoiding stdio.
It's okay for a program to choose to drag in stdio, but it's unfortunate
if even the minimal "int main() { return 42; }" drags in stdio...

This brings the minimal static binary on ARM down from 78KiB to 46KiB.

Given that we don't have a separate -lpthread it's not obvious to me that
we can shave this down any further. I'm not sure whether this is a worthwhile
change for that reason. (And the fact that dynamic binaries, the usual case,
are unaffected either way.)

Change-Id: I02f91dcff37d14354314a30b72fed2563f431c88
2014-07-10 12:34:23 -07:00
..
arch-arm Add splice, tee, and vmsplice. 2014-06-24 19:03:31 -07:00
arch-arm64 Regenerate the bionic NOTICE files. 2014-07-07 15:42:06 -07:00
arch-common/bionic Fixes for __cxa_finalize 2014-05-05 11:36:57 -07:00
arch-mips Add splice, tee, and vmsplice. 2014-06-24 19:03:31 -07:00
arch-mips64 Add splice, tee, and vmsplice. 2014-06-24 19:03:31 -07:00
arch-x86 Regenerate the bionic NOTICE files. 2014-07-07 15:42:06 -07:00
arch-x86_64 Add splice, tee, and vmsplice. 2014-06-24 19:03:31 -07:00
bionic Slim down static binaries by avoiding stdio. 2014-07-10 12:34:23 -07:00
dns Fix all resolv warnings and turn on -Werror. 2014-07-02 16:27:20 -07:00
include Change android_dlextinfo flags to uint64_t 2014-07-08 11:24:03 -07:00
kernel [MIPS64] Regenerate mips kernel headers with fixed tool 2014-06-20 11:08:49 -07:00
private Slim down static binaries by avoiding stdio. 2014-07-10 12:34:23 -07:00
stdio Expose __srefill for LP64 until we can fix the NDK. 2014-05-27 21:23:36 -07:00
stdlib Slim down static binaries by avoiding stdio. 2014-07-10 12:34:23 -07:00
tools update-tzdata.py needs to know where to find icu. 2014-07-09 15:42:59 -07:00
tzcode Build tzcode with hidden visibility. 2014-06-19 14:49:30 -07:00
unistd Hide non-standard syslog API. 2014-06-09 17:42:14 -07:00
upstream-dlmalloc Put all allocation functions into dispatch table. 2014-06-12 15:08:18 -07:00
upstream-freebsd Switch to upstream OpenBSD mktemp.c. 2014-07-02 11:22:26 -07:00
upstream-netbsd Switch to upstream NetBSD nsap_addr.c. 2014-06-30 12:03:43 -07:00
upstream-openbsd Merge "Revert "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""" 2014-07-02 20:51:20 +00:00
zoneinfo Upgrade to tzdata2014e. 2014-06-13 10:55:19 -07:00
Android.mk Move __cmsg_nxthdr to its proper file. 2014-07-10 12:47:13 +01:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Regenerate the bionic NOTICE files. 2014-07-07 15:42:06 -07:00
SYSCALLS.TXT Add splice, tee, and vmsplice. 2014-06-24 19:03:31 -07:00