Revert "HACK: linker: check for handle==0xffffffff on LP64"

This reverts commit 346fea0805b8c2a20171c9b4ab1aac5f66ede5de.

Change-Id: Id3fd79451e4218e68e39ce22f21408cbf93255ee
Merge "Revert "Prevent symbols from libgcc from being reexported.""
Revert "Prevent symbols from libgcc from being reexported."

This reverts commit 65e80cf62200085f72c1c081aea2d6e9b800cde2.

Change-Id: I5f94b123f73db8d0b03cd71a5cffa0662776a017
Fix getpid caching across a clone.

If you make clone, fork, or vfork system calls directly, you're still
on your own, but we now do the right thing for the clone wrapper.
With this implementation, children lose the getpid caching, but we've
no reason to think that that covers any significant use cases.

Bug: 15387103
Change-Id: Icfab6b63c708fea830960742ec92aeba8ce7680d
Revert "Revert "Prevent symbols from libgcc from being reexported.""

This reverts commit 4e4e1a5d78ff6dd9394b9b116c012046da409e99.

Change-Id: I8e78c3a59598e052e02965dd37b3fba8f567eed9
Prefix cmsg_nxthdr with "__".

This brings us on par with glibc.

To avoid breaking clients, temporary keep cmsg_nxthdr until the next NDK
refresh.

Bug: 15822452
Change-Id: I24c24e68c31f4f2b8f3d2df7acd575cb75174173
Merge "Prefix cmsg_nxthdr with "__"."
Merge "Fix getpid caching across a clone."
Sync to current upstream arc4random.

This is actually revision 1.33, which is no longer the latest, but it's
as close to head as we can currently reasonably get. I've also switched
to the OpenBSD getentropy_linux.c implementation of getentropy, lightly
modified to try to report an error on failure.

Bug: 14499627
Change-Id: Ia7c561184b1f366c9bf66f248aa60f0d53535fcb
Merge "Sync to current upstream arc4random."
Add splice, tee, and vmsplice.

Change-Id: I5f43380b88d776a8bb607b47dbbc5db5a2fe6163
Merge "Add splice, tee, and vmsplice."
Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings.

Code written for glibc can be sloppy about these types on LP64 and
get away with it. It's probably better for our users if these types
are identical rather than just being the same size.

Change-Id: I3dd116d80569d2d101342a552c55f4a18884025b
Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."
Add a new pthread_key_delete test.

Bug: https://code.google.com/p/android/issues/detail?id=66813
Change-Id: Ida87bc1fb15a73a08c223a7099456d9f049cd3c5
Merge "Add a new pthread_key_delete test."
asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9.

Change-Id: Ie36b68d1260a656056f66a67750232a7da78c61f
Signed-off-by: Steve Ellcey <steve.ellcey@imgtec.com>
Add optimized neon strchr implementation based on newlib

Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: I276ff0f879e733a1115456247e1342b9c5a09015
Merge "Add optimized neon strchr implementation based on newlib"
Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."