platform_bionic/libc/private
Elliott Hughes ad88a08631 Per-thread -fstack-protector guards for x86.
Based on a pair of patches from Intel:

  https://android-review.googlesource.com/#/c/43909/
  https://android-review.googlesource.com/#/c/44903/

For x86, this patch supports _both_ the global that ARM/MIPS use
and the per-thread TLS entry (%gs:20) that GCC uses by default. This
lets us support binaries built with any x86 toolchain (right now,
the NDK is emitting x86 code that uses the global).

I've also extended the original tests to cover ARM/MIPS too, and
be a little more thorough for x86.

Change-Id: I02f279a80c6b626aecad449771dec91df235ad01
2012-10-25 12:04:03 -07:00
..
__dso_handle.h arm: rewrite crtbegin* as C files. 2012-06-01 14:41:27 -07:00
__dso_handle_so.h Rename __dso_handle_so.c to __dso_handle_so.h 2012-09-07 12:49:41 +08:00
arpa_nameser.h Fix spurious DNS lookups in the C library. 2010-03-08 15:22:13 -08:00
arpa_nameser_compat.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
bionic_atomic_arm.h bionic: Do not use <sys/atomics.h> for platform code. 2011-11-16 16:28:10 +01:00
bionic_atomic_gcc_builtin.h Fix implementation of generic atomic operations 2012-07-24 13:56:38 -07:00
bionic_atomic_inline.h Report errors to the log, not just stderr. 2012-07-27 17:43:38 -07:00
bionic_atomic_mips.h [MIPS] Add atomic routines 2012-07-24 10:30:22 -07:00
bionic_atomic_x86.h bionic: Do not use <sys/atomics.h> for platform code. 2011-11-16 16:28:10 +01:00
bionic_futex.h Use private futexes for semaphores, unless they are initialized with pshared != 0. 2010-06-08 17:04:49 -07:00
bionic_pthread.h Handle pthread-related changes (mutex/atfork) 2012-03-26 15:38:59 -07:00
bionic_ssp.h Per-thread -fstack-protector guards for x86. 2012-10-25 12:04:03 -07:00
bionic_time.h Add the libcutils localtime_tz and mktime_t extensions to bionic. 2012-09-11 11:15:53 -07:00
bionic_tls.h Per-thread -fstack-protector guards for x86. 2012-10-25 12:04:03 -07:00
cpuacct.h Remove compiler warnings when building Bionic. 2010-06-22 17:51:41 -07:00
ctype_private.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
logd.h Clean up the linker a bit, remove prelinking support. 2012-08-07 11:41:10 -07:00
nsswitch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
rand48.h Upgrade to the current NetBSD rand implementation. 2012-10-01 13:53:41 -07:00
resolv_cache.h Avoid multiple dns lookups for the same query 2012-05-07 18:04:25 -07:00
resolv_iface.h libc: Copy private C library declarations to private/ 2012-01-13 13:26:50 +01:00
resolv_private.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
resolv_static.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ScopedPthreadMutexLocker.h Fix dlerror(3). 2012-10-11 16:08:51 -07:00
syscommon.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
thread_private.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ThreadLocalBuffer.h Make dlerror(3) thread-safe. 2012-10-16 17:58:17 -07:00