platform_bionic/libc/private
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
..
__get_tls.h AArch64: Add initial support for AArch64 2013-12-16 17:00:22 -08:00
bionic_asm.h Unify our assembler macros. 2014-02-20 13:51:26 -08:00
bionic_atomic_arm.h ARM: Change dmb domain for bionic_atomic_barrier() 2013-12-19 11:39:01 -08:00
bionic_atomic_arm64.h bionic: rename aarch64 target to arm64 2014-01-23 18:35:39 -08:00
bionic_atomic_gcc_builtin.h ARM: Change dmb domain for bionic_atomic_barrier() 2013-12-19 11:39:01 -08:00
bionic_atomic_inline.h bionic: rename aarch64 target to arm64 2014-01-23 18:35:39 -08:00
bionic_atomic_mips.h Clean up the pthread-only atomic stuff a little. 2013-12-16 10:18:11 -08:00
bionic_atomic_x86.h Clean up the pthread-only atomic stuff a little. 2013-12-16 10:18:11 -08:00
bionic_auxv.h Switch <elf.h> over to linux uapi under the covers. 2014-02-10 18:22:24 -08:00
bionic_config.h Use a separate config.h for config like defines. 2014-06-16 23:35:53 -07:00
bionic_futex.h Return the actual success result from __futex. 2014-05-29 10:27:55 -07:00
bionic_macros.h Move common macros into bionic_macros.h. 2014-06-18 14:23:46 -07:00
bionic_mbstate.h Adds functionality specified by uchar.h 2014-06-04 08:39:24 -07:00
bionic_name_mem.h Clean up various warnings in bionic. 2014-02-18 12:04:54 -08:00
bionic_pthread.h <pthread.h> fixes and pthread cleanup. 2013-10-31 12:31:16 -07:00
bionic_ssp.h Simplify __stack_chk_fail, and fix it so we get debuggerd stack traces. 2013-02-14 14:37:34 -08:00
bionic_time.h Build tzcode with hidden visibility. 2014-06-19 14:49:30 -07:00
bionic_time_conversions.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
bionic_tls.h Move common macros into bionic_macros.h. 2014-06-18 14:23:46 -07:00
ErrnoRestorer.h Bring in google3-style DISALLOW_* macros. 2014-05-09 19:12:08 -07:00
kernel_sigset_t.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
KernelArgumentBlock.h Bring in google3-style DISALLOW_* macros. 2014-05-09 19:12:08 -07:00
libc_events.h Add stpcpy/stpncpy. 2014-04-07 16:41:53 -07:00
libc_logging.h Slim down static binaries by avoiding stdio. 2014-07-10 12:34:23 -07:00
NetdClientDispatch.h Mark sockets on creation (socket()) and accept4(). 2014-05-19 15:19:16 -07:00
ScopedFd.h Load library using file handle. 2014-07-02 13:20:47 -07:00
ScopedPthreadMutexLocker.h Bring in google3-style DISALLOW_* macros. 2014-05-09 19:12:08 -07:00
ScopedReaddir.h Bring in google3-style DISALLOW_* macros. 2014-05-09 19:12:08 -07:00
thread_private.h Sync to current upstream arc4random. 2014-06-24 14:13:48 -07:00
ThreadLocalBuffer.h Revert "Revert "More pthreads cleanup."" 2013-02-12 15:27:18 -08:00