Fix raise(3) so it works in signal handlers.

We could special-case raise(3) in non-threaded programs, but the more
conservative course is to make pthread_kill(3) work in signal handlers
at the cost of a race shared by other C libraries.

Change-Id: I59fb23d03bdabf403435e731704b33acdf3e0234
Merge "Fix raise(3) so it works in signal handlers."
libc: remove bcmp prototype

AFAIK, bionic only ever provided an implementation of bcmp
for x86, and even then, the code was never actually compiled.
Remove the prototype.

bcmp() has been obsoleted and replaced by memcmp()

Change-Id: I549d02ab6a9241a9acbbbfade0d98a9a02c2eaee
Merge "libc: remove bcmp prototype"
Stop advertising rindex(3), which is both deprecated and unimplemented.

Change-Id: I3c775d9974e49c3f76a53e46e022659657b89034
Merge "Stop advertising rindex(3), which is both deprecated and unimplemented."
libc: add sys/signal.h for compatibility

Some applications look for sys/signal.h instead of signal.h.
Work around those apps.

Change-Id: I76ac7744ebc56d196b5f0cb9ed381d32817436b9
Add the glibc-compatible names to <sys/endian.h>.

Also remove declarations for functions that don't exist; these
are all macros.

Bug: http://code.google.com/p/android/issues/detail?id=41769
Change-Id: Ia3774ab2ff7d3c535f83774eac61068f9b11e194
Fix <memory.h> to be a synonym for <string.h> like in glibc.

Change-Id: If23589c5d85dffd28788e04b010303620fa178ca
Merge "libc: add sys/signal.h for compatibility"
Merge "Fix <memory.h> to be a synonym for <string.h> like in glibc."
Merge "Add the glibc-compatible names to <sys/endian.h>."
Config: Move debugging to development/debugging option
test: Remove unused flag TINY_ANDROID
Merge remote-tracking branch 'aosp/master'
Config: Fix gold linker dependency of builtin toolchain
Config: Make C++ support and STLport configurable

Since olibc is derived from bionic libc, some source files are writen in
C++ instead of pure C such as linker and pthread implementation.

That would cause an impact of internal designs. For example, the current
behavior of Android's memory leak checker is to call the C++ demangler
dynamically.  However, we might expect olibc built without C++ in some
embedded environments, which implies further modifications against
bionic.