Commit graph

8605 commits

Author SHA1 Message Date
Elliott Hughes
e104751566 am f72c56d6: Merge "Switch to upstream NetBSD nsap_addr.c."
* commit 'f72c56d66a79492310389b6065b76fc03b518407':
  Switch to upstream NetBSD nsap_addr.c.
2014-06-30 19:39:25 +00:00
Dmitriy Ivanov
33c1af3070 am e5c759ff: Merge "Disallow dlopen("egl/blah.so") on LP64"
* commit 'e5c759ff3a602f884cdac011600dc64645bce93e':
  Disallow dlopen("egl/blah.so") on LP64
2014-06-30 18:01:38 +00:00
Elliott Hughes
f72c56d66a Merge "Switch to upstream NetBSD nsap_addr.c." 2014-06-30 14:46:08 +00:00
Elliott Hughes
a210cae724 Switch to upstream NetBSD nsap_addr.c.
These symbols should be public (and Firefox uses them), and we'd also probably
rather have the upstream thread-safe implementation.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1030899
Change-Id: I2a5888fbb3198546848398f576fd2195ff3fe00c
2014-06-30 12:03:43 -07:00
Colin Cross
26dde2d2e4 am ddc44974: Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64""
* commit 'ddc449748bc3ff0ba574be00f4bbac9fba242e33':
  Revert "HACK: linker: check for handle==0xffffffff on LP64"
2014-06-28 00:49:03 +00:00
Christopher Ferris
d1bf070642 am 2e249c2e: Merge "Add optimized 64 bit strcpy."
* commit '2e249c2e7a1bc2290d34c77d48206e97b8b883b6':
  Add optimized 64 bit strcpy.
2014-06-27 22:34:48 +00:00
Elliott Hughes
5d4cb15610 am ec97c3f0: Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."
* commit 'ec97c3f0246680c77a2f9d72e0f1600f799e1754':
  asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9.
2014-06-27 21:24:48 +00:00
Christopher Ferris
627a8096ea am a4a28d90: Merge "Add optimized neon strchr implementation based on newlib"
* commit 'a4a28d90f30dad54a7851176ddffee435d75f83f':
  Add optimized neon strchr implementation based on newlib
2014-06-27 19:46:41 +00:00
Colin Cross
ddc449748b Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64"" 2014-06-26 23:45:01 +00:00
Dmitriy Ivanov
e5c759ff3a Merge "Disallow dlopen("egl/blah.so") on LP64" 2014-06-26 23:39:54 +00:00
Dmitriy Ivanov
e43c4a7a66 Disallow dlopen("egl/blah.so") on LP64
Bug: 7465467
Change-Id: Ibd3a4f1a6095f4397bde4f656e3c11b67f7edd47
2014-06-29 13:02:06 -07:00
Elliott Hughes
ec97c3f024 Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9." 2014-06-26 18:34:59 +00:00
Christopher Ferris
2e249c2e7a Merge "Add optimized 64 bit strcpy." 2014-06-26 18:12:01 +00:00
Christopher Ferris
77561bfe0b Add optimized 64 bit strcpy.
Change-Id: I4ac12735a53c3ae9336b148ce694fe6c63613139
2014-06-26 17:51:56 -07:00
Christopher Ferris
a4a28d90f3 Merge "Add optimized neon strchr implementation based on newlib" 2014-06-26 18:12:01 +00:00
Bernhard Rosenkränzer
12c0274d9c Add optimized neon strchr implementation based on newlib
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: I276ff0f879e733a1115456247e1342b9c5a09015
2014-06-27 13:21:42 +02:00
Raghu Gandham
93e7b9f3ea 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>
2014-06-25 18:03:41 -07:00
Elliott Hughes
5f3bf51532 am 3df0774b: Merge "Add a new pthread_key_delete test."
* commit '3df0774b15cfe85033c23d5e51b6f5174bf0559f':
  Add a new pthread_key_delete test.
2014-06-25 21:03:59 +00:00
Elliott Hughes
e3ee781937 am ba4ebf78: Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."
* commit 'ba4ebf78ad29ab2ee57c05807140bdf751f59cc6':
  Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings.
2014-06-25 19:27:59 +00:00
Elliott Hughes
3df0774b15 Merge "Add a new pthread_key_delete test." 2014-06-25 17:34:27 +00:00
Elliott Hughes
ebb770f90d Add a new pthread_key_delete test.
Bug: https://code.google.com/p/android/issues/detail?id=66813
Change-Id: Ida87bc1fb15a73a08c223a7099456d9f049cd3c5
2014-06-25 13:46:46 -07:00
Elliott Hughes
ba4ebf78ad Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings." 2014-06-25 03:39:25 +00:00
Elliott Hughes
00fb5f97be 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
2014-06-25 12:09:11 -07:00
Elliott Hughes
19fe877ec3 am d59ed678: Merge "Add splice, tee, and vmsplice."
* commit 'd59ed678fe6d6bc5aeb1566004490126bd552df4':
  Add splice, tee, and vmsplice.
2014-06-25 02:14:34 +00:00
Elliott Hughes
d59ed678fe Merge "Add splice, tee, and vmsplice." 2014-06-25 01:46:04 +00:00
Elliott Hughes
3f525d41c2 Add splice, tee, and vmsplice.
Change-Id: I5f43380b88d776a8bb607b47dbbc5db5a2fe6163
2014-06-24 19:03:31 -07:00
Elliott Hughes
cc9acb8d7b am 52f9b051: Merge "Sync to current upstream arc4random."
* commit '52f9b051c8bcb3d723b023a74d7d89ee45cf754c':
  Sync to current upstream arc4random.
2014-06-24 21:33:42 +00:00
Elliott Hughes
1411afd6d1 am 598f4b3a: Merge "Fix getpid caching across a clone."
* commit '598f4b3ac1be3c6ef3af613ac4b0694841e165fe':
  Fix getpid caching across a clone.
2014-06-24 19:35:23 +00:00
Elliott Hughes
52f9b051c8 Merge "Sync to current upstream arc4random." 2014-06-24 18:00:13 +00:00
Elliott Hughes
0468feb286 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
2014-06-24 14:13:48 -07:00
Calin Juravle
b52d7e7b6e am 63fa660b: Merge "Prefix cmsg_nxthdr with "__"."
* commit '63fa660b52f1e9717f0a2105d4861a4b48c330b1':
  Prefix cmsg_nxthdr with "__".
2014-06-24 11:02:06 +00:00
Elliott Hughes
598f4b3ac1 Merge "Fix getpid caching across a clone." 2014-06-24 07:45:29 +00:00
Calin Juravle
63fa660b52 Merge "Prefix cmsg_nxthdr with "__"." 2014-06-24 06:28:56 +00:00
Calin Juravle
096b4eb752 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
2014-06-24 11:53:06 +01:00
Elliott Hughes
fa9e16efaf 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
2014-06-23 17:49:45 -07:00
Dan Albert
af8046a9f9 am 66a805b9: Merge "Revert "Prevent symbols from libgcc from being reexported.""
* commit '66a805b91e53ae89d029d31f9e8b385bc79ac04a':
  Revert "Prevent symbols from libgcc from being reexported."
2014-06-23 21:21:36 +00:00
Dan Albert
66a805b91e Merge "Revert "Prevent symbols from libgcc from being reexported."" 2014-06-23 17:14:09 +00:00
Dan Albert
4e4e1a5d78 Revert "Prevent symbols from libgcc from being reexported."
This reverts commit 65e80cf622.

Change-Id: I5f94b123f73db8d0b03cd71a5cffa0662776a017
2014-06-23 20:12:05 +00:00
Dan Albert
203ec23c4b am 559f3cb5: Merge "Use __builtin_*_chk for bcopy/bzero."
* commit '559f3cb532f2740f1c86d16663ad23dad6aa96e8':
  Use __builtin_*_chk for bcopy/bzero.
2014-06-23 17:08:26 +00:00
Dan Albert
b5e050d2f9 am 54e9dc02: Merge "Prevent symbols from libgcc from being reexported."
* commit '54e9dc02138838fdb7a89e62467c369e3cf1f41f':
  Prevent symbols from libgcc from being reexported.
2014-06-21 09:47:23 +00:00
Dan Albert
4b62f0d809 am 0d7415fb: Merge "Remove SHA1 from LP64 in favor of libcrypto."
* commit '0d7415fb225573c37ff9e880957cd2044dd658ce':
  Remove SHA1 from LP64 in favor of libcrypto.
2014-06-21 09:47:20 +00:00
Dan Albert
65e80cf622 Prevent symbols from libgcc from being reexported.
Since this was not done earlier, there are binary compatibility concerns
that prevent us from being able to apply this to LP32.

Bug: 11156955
Change-Id: Ie717c3ae4b81c749548a45a993c834e109700b27
2014-06-21 00:09:31 -07:00
Christopher Ferris
6131798e57 am ac86f994: Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"
* commit 'ac86f99405707aa099e11d97cd68bfe011cf7a32':
  [MIPS64] Regenerate mips kernel headers with fixed tool
2014-06-21 01:03:44 +00:00
Christopher Ferris
40b85d34e0 am eee5f173: Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"
* commit 'eee5f173d1e55c1fe35ef664b6eb0aa3eeab942d':
  [MIPS64] Adjust kernel/tools for mips32,mips64 headers
2014-06-21 01:03:43 +00:00
Elliott Hughes
3e2ea6ba22 am fb0a3622: Merge "Cache getpid."
* commit 'fb0a3622f79bb0a31dd4d0e2f9cea990075ef129':
  Cache getpid.
2014-06-20 22:40:16 +00:00
Dan Albert
54e9dc0213 Merge "Prevent symbols from libgcc from being reexported." 2014-06-20 21:00:34 +00:00
Dan Albert
0d7415fb22 Merge "Remove SHA1 from LP64 in favor of libcrypto." 2014-06-20 20:43:43 +00:00
Christopher Ferris
ac86f99405 Merge "[MIPS64] Regenerate mips kernel headers with fixed tool" 2014-06-20 20:43:43 +00:00
Duane Sand
2300332596 [MIPS64] Regenerate mips kernel headers with fixed tool
Change-Id: I530891123cba78edbea4aa8af88390213711ab16
2014-06-20 11:08:49 -07:00
Duane Sand
a69eaec4d4 [MIPS64] Adjust kernel/tools for mips32,mips64 headers
Define CONFIG_32BIT as _ABIO32 rather than as 1;
it needs to be undefined for calls from mips64.
We need  defined(CONFIG_32BIT) == !defined(CONFIG_64BIT),
and get that via  defined(_ABIO32) == !defined(__LP64__).

Define CONFIG_CPU_LITTLE_ENDIAN to get correctly-placed
struct msqid64_ds fillers on ipc calls from mips32.
Without this, big-endian fillers were erroneously used.
This bug exists in prior mips32 Android releases.

Define __SANE_USERSPACE_TYPES__ to use int_ll64.h
rather than int_ll64.h on mips64.
This depends on external/kernel-headers patch
 https://android-review.googlesource.com/#/c/98915/
 http://patchwork.linux-mips.org/patch/6890/

Change-Id: If65fa80746533723cdf46eebe95733bea7ce24ba
2014-06-20 10:46:28 -07:00