android-sdk/platform-bionic.git
7 years agoam 260846f3: Merge "Reinstate the x86 dynamic linker warning for text relocations."
Elliott Hughes [Mon, 30 Jun 2014 22:04:33 +0000 (22:04 +0000)]
am 260846f3: Merge "Reinstate the x86 dynamic linker warning for text relocations."

* commit '260846f374f88ba6686bff8ab33c17c487c7a8f7':
  Reinstate the x86 dynamic linker warning for text relocations.

7 years agoam eac2bbf0: Merge "Add extra strchr testing."
Christopher Ferris [Mon, 30 Jun 2014 20:03:43 +0000 (20:03 +0000)]
am eac2bbf0: Merge "Add extra strchr testing."

* commit 'eac2bbf0fce2da710bb086414ad1054568747a42':
  Add extra strchr testing.

7 years agoam f72c56d6: Merge "Switch to upstream NetBSD nsap_addr.c."
Elliott Hughes [Mon, 30 Jun 2014 19:39:25 +0000 (19:39 +0000)]
am f72c56d6: Merge "Switch to upstream NetBSD nsap_addr.c."

* commit 'f72c56d66a79492310389b6065b76fc03b518407':
  Switch to upstream NetBSD nsap_addr.c.

7 years agoam e5c759ff: Merge "Disallow dlopen("egl/blah.so") on LP64"
Dmitriy Ivanov [Mon, 30 Jun 2014 18:01:38 +0000 (18:01 +0000)]
am e5c759ff: Merge "Disallow dlopen("egl/blah.so") on LP64"

* commit 'e5c759ff3a602f884cdac011600dc64645bce93e':
  Disallow dlopen("egl/blah.so") on LP64

7 years agoMerge "Add extra strchr testing."
Christopher Ferris [Mon, 30 Jun 2014 19:56:01 +0000 (19:56 +0000)]
Merge "Add extra strchr testing."

7 years agoAdd extra strchr testing.
Christopher Ferris [Fri, 27 Jun 2014 19:33:22 +0000 (12:33 -0700)]
Add extra strchr testing.

Change-Id: Idd0a779eb3388e402cfcb4e0df40872320f8e155

7 years agoMerge "Switch to upstream NetBSD nsap_addr.c."
Elliott Hughes [Mon, 30 Jun 2014 19:28:10 +0000 (19:28 +0000)]
Merge "Switch to upstream NetBSD nsap_addr.c."

7 years agoSwitch to upstream NetBSD nsap_addr.c.
Elliott Hughes [Mon, 30 Jun 2014 19:03:43 +0000 (12:03 -0700)]
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

7 years agoam ddc44974: Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64""
Colin Cross [Sat, 28 Jun 2014 00:49:03 +0000 (00:49 +0000)]
am ddc44974: Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64""

* commit 'ddc449748bc3ff0ba574be00f4bbac9fba242e33':
  Revert "HACK: linker: check for handle==0xffffffff on LP64"

7 years agoam 2e249c2e: Merge "Add optimized 64 bit strcpy."
Christopher Ferris [Fri, 27 Jun 2014 22:34:48 +0000 (22:34 +0000)]
am 2e249c2e: Merge "Add optimized 64 bit strcpy."

* commit '2e249c2e7a1bc2290d34c77d48206e97b8b883b6':
  Add optimized 64 bit strcpy.

7 years agoam ec97c3f0: Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."
Elliott Hughes [Fri, 27 Jun 2014 21:24:48 +0000 (21:24 +0000)]
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.

7 years agoam a4a28d90: Merge "Add optimized neon strchr implementation based on newlib"
Christopher Ferris [Fri, 27 Jun 2014 19:46:41 +0000 (19:46 +0000)]
am a4a28d90: Merge "Add optimized neon strchr implementation based on newlib"

* commit 'a4a28d90f30dad54a7851176ddffee435d75f83f':
  Add optimized neon strchr implementation based on newlib

7 years agoMerge "Revert "HACK: linker: check for handle==0xffffffff on LP64""
Colin Cross [Sat, 28 Jun 2014 00:39:33 +0000 (00:39 +0000)]
Merge "Revert "HACK: linker: check for handle==0xffffffff on LP64""

7 years agoMerge "Disallow dlopen("egl/blah.so") on LP64"
Dmitriy Ivanov [Mon, 30 Jun 2014 17:53:49 +0000 (17:53 +0000)]
Merge "Disallow dlopen("egl/blah.so") on LP64"

7 years agoDisallow dlopen("egl/blah.so") on LP64
Dmitriy Ivanov [Sun, 29 Jun 2014 20:00:23 +0000 (13:00 -0700)]
Disallow dlopen("egl/blah.so") on LP64

Bug: 7465467
Change-Id: Ibd3a4f1a6095f4397bde4f656e3c11b67f7edd47

7 years agoMerge "Reinstate the x86 dynamic linker warning for text relocations."
Elliott Hughes [Mon, 30 Jun 2014 21:55:34 +0000 (21:55 +0000)]
Merge "Reinstate the x86 dynamic linker warning for text relocations."

7 years agoReinstate the x86 dynamic linker warning for text relocations.
Elliott Hughes [Mon, 30 Jun 2014 21:46:53 +0000 (14:46 -0700)]
Reinstate the x86 dynamic linker warning for text relocations.

Bug: 11358761
Change-Id: I4fc56ce7d76c9703a307ddd4d371d5e98bc6f51d

7 years agoMerge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."
Elliott Hughes [Fri, 27 Jun 2014 21:15:07 +0000 (21:15 +0000)]
Merge "asm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9."

7 years agoMerge "Add optimized neon strchr implementation based on newlib"
Christopher Ferris [Fri, 27 Jun 2014 19:39:08 +0000 (19:39 +0000)]
Merge "Add optimized neon strchr implementation based on newlib"

7 years agoAdd optimized neon strchr implementation based on newlib
Bernhard Rosenkränzer [Fri, 27 Jun 2014 11:21:42 +0000 (13:21 +0200)]
Add optimized neon strchr implementation based on newlib

Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Change-Id: I276ff0f879e733a1115456247e1342b9c5a09015

7 years agoMerge "Add optimized 64 bit strcpy."
Christopher Ferris [Fri, 27 Jun 2014 22:25:05 +0000 (22:25 +0000)]
Merge "Add optimized 64 bit strcpy."

7 years agoAdd optimized 64 bit strcpy.
Christopher Ferris [Thu, 26 Jun 2014 22:27:08 +0000 (15:27 -0700)]
Add optimized 64 bit strcpy.

Change-Id: I4ac12735a53c3ae9336b148ce694fe6c63613139

7 years agoasm/sigcontext.h is required to build unwind-dw2.c in gcc-4.9.
Raghu Gandham [Thu, 26 Jun 2014 00:58:48 +0000 (17:58 -0700)]
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>
7 years agoam 3df0774b: Merge "Add a new pthread_key_delete test."
Elliott Hughes [Wed, 25 Jun 2014 21:03:59 +0000 (21:03 +0000)]
am 3df0774b: Merge "Add a new pthread_key_delete test."

* commit '3df0774b15cfe85033c23d5e51b6f5174bf0559f':
  Add a new pthread_key_delete test.

7 years agoam ba4ebf78: Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."
Elliott Hughes [Wed, 25 Jun 2014 19:27:59 +0000 (19:27 +0000)]
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.

7 years agoMerge "Add a new pthread_key_delete test."
Elliott Hughes [Wed, 25 Jun 2014 20:54:14 +0000 (20:54 +0000)]
Merge "Add a new pthread_key_delete test."

7 years agoAdd a new pthread_key_delete test.
Elliott Hughes [Wed, 25 Jun 2014 20:46:46 +0000 (13:46 -0700)]
Add a new pthread_key_delete test.

Bug: https://code.google.com/p/android/issues/detail?id=66813
Change-Id: Ida87bc1fb15a73a08c223a7099456d9f049cd3c5

7 years agoMerge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."
Elliott Hughes [Wed, 25 Jun 2014 19:19:44 +0000 (19:19 +0000)]
Merge "Change the LP64 off_t/loff_t/off64_t definitions to reduce warnings."

7 years agoChange the LP64 off_t/loff_t/off64_t definitions to reduce warnings.
Elliott Hughes [Wed, 25 Jun 2014 19:09:11 +0000 (12:09 -0700)]
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

7 years agoam d59ed678: Merge "Add splice, tee, and vmsplice."
Elliott Hughes [Wed, 25 Jun 2014 02:14:34 +0000 (02:14 +0000)]
am d59ed678: Merge "Add splice, tee, and vmsplice."

* commit 'd59ed678fe6d6bc5aeb1566004490126bd552df4':
  Add splice, tee, and vmsplice.

7 years agoMerge "Add splice, tee, and vmsplice."
Elliott Hughes [Wed, 25 Jun 2014 02:04:10 +0000 (02:04 +0000)]
Merge "Add splice, tee, and vmsplice."

7 years agoAdd splice, tee, and vmsplice.
Elliott Hughes [Tue, 24 Jun 2014 23:32:01 +0000 (16:32 -0700)]
Add splice, tee, and vmsplice.

Change-Id: I5f43380b88d776a8bb607b47dbbc5db5a2fe6163

7 years agoam 52f9b051: Merge "Sync to current upstream arc4random."
Elliott Hughes [Tue, 24 Jun 2014 21:33:42 +0000 (21:33 +0000)]
am 52f9b051: Merge "Sync to current upstream arc4random."

* commit '52f9b051c8bcb3d723b023a74d7d89ee45cf754c':
  Sync to current upstream arc4random.

7 years agoam 598f4b3a: Merge "Fix getpid caching across a clone."
Elliott Hughes [Tue, 24 Jun 2014 19:35:23 +0000 (19:35 +0000)]
am 598f4b3a: Merge "Fix getpid caching across a clone."

* commit '598f4b3ac1be3c6ef3af613ac4b0694841e165fe':
  Fix getpid caching across a clone.

7 years agoMerge "Sync to current upstream arc4random."
Elliott Hughes [Tue, 24 Jun 2014 21:24:55 +0000 (21:24 +0000)]
Merge "Sync to current upstream arc4random."

7 years agoSync to current upstream arc4random.
Elliott Hughes [Sat, 21 Jun 2014 05:49:20 +0000 (22:49 -0700)]
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

7 years agoam 63fa660b: Merge "Prefix cmsg_nxthdr with "__"."
Calin Juravle [Tue, 24 Jun 2014 11:02:06 +0000 (11:02 +0000)]
am 63fa660b: Merge "Prefix cmsg_nxthdr with "__"."

* commit '63fa660b52f1e9717f0a2105d4861a4b48c330b1':
  Prefix cmsg_nxthdr with "__".

7 years agoMerge "Fix getpid caching across a clone."
Elliott Hughes [Tue, 24 Jun 2014 16:36:31 +0000 (16:36 +0000)]
Merge "Fix getpid caching across a clone."

7 years agoMerge "Prefix cmsg_nxthdr with "__"."
Calin Juravle [Tue, 24 Jun 2014 10:54:53 +0000 (10:54 +0000)]
Merge "Prefix cmsg_nxthdr with "__"."

7 years agoPrefix cmsg_nxthdr with "__".
Calin Juravle [Thu, 19 Jun 2014 17:16:17 +0000 (18:16 +0100)]
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

7 years agoFix getpid caching across a clone.
Elliott Hughes [Tue, 24 Jun 2014 00:49:45 +0000 (17:49 -0700)]
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

7 years agoam 66a805b9: Merge "Revert "Prevent symbols from libgcc from being reexported.""
Dan Albert [Mon, 23 Jun 2014 21:21:36 +0000 (21:21 +0000)]
am 66a805b9: Merge "Revert "Prevent symbols from libgcc from being reexported.""

* commit '66a805b91e53ae89d029d31f9e8b385bc79ac04a':
  Revert "Prevent symbols from libgcc from being reexported."

7 years agoMerge "Revert "Prevent symbols from libgcc from being reexported.""
Dan Albert [Mon, 23 Jun 2014 21:11:50 +0000 (21:11 +0000)]
Merge "Revert "Prevent symbols from libgcc from being reexported.""

7 years agoRevert "Prevent symbols from libgcc from being reexported."
Dan Albert [Mon, 23 Jun 2014 20:12:05 +0000 (20:12 +0000)]
Revert "Prevent symbols from libgcc from being reexported."

This reverts commit 65e80cf62200085f72c1c081aea2d6e9b800cde2.

Change-Id: I5f94b123f73db8d0b03cd71a5cffa0662776a017

7 years agoam 559f3cb5: Merge "Use __builtin_*_chk for bcopy/bzero."
Dan Albert [Mon, 23 Jun 2014 17:08:26 +0000 (17:08 +0000)]
am 559f3cb5: Merge "Use __builtin_*_chk for bcopy/bzero."

* commit '559f3cb532f2740f1c86d16663ad23dad6aa96e8':
  Use __builtin_*_chk for bcopy/bzero.

7 years agoam 54e9dc02: Merge "Prevent symbols from libgcc from being reexported."
Dan Albert [Sat, 21 Jun 2014 09:47:23 +0000 (09:47 +0000)]
am 54e9dc02: Merge "Prevent symbols from libgcc from being reexported."

* commit '54e9dc02138838fdb7a89e62467c369e3cf1f41f':
  Prevent symbols from libgcc from being reexported.

7 years agoam 0d7415fb: Merge "Remove SHA1 from LP64 in favor of libcrypto."
Dan Albert [Sat, 21 Jun 2014 09:47:20 +0000 (09:47 +0000)]
am 0d7415fb: Merge "Remove SHA1 from LP64 in favor of libcrypto."

* commit '0d7415fb225573c37ff9e880957cd2044dd658ce':
  Remove SHA1 from LP64 in favor of libcrypto.

7 years agoPrevent symbols from libgcc from being reexported.
Dan Albert [Thu, 19 Jun 2014 00:18:33 +0000 (17:18 -0700)]
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

7 years agoam ac86f994: Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"
Christopher Ferris [Sat, 21 Jun 2014 01:03:44 +0000 (01:03 +0000)]
am ac86f994: Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"

* commit 'ac86f99405707aa099e11d97cd68bfe011cf7a32':
  [MIPS64] Regenerate mips kernel headers with fixed tool

7 years agoam eee5f173: Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"
Christopher Ferris [Sat, 21 Jun 2014 01:03:43 +0000 (01:03 +0000)]
am eee5f173: Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"

* commit 'eee5f173d1e55c1fe35ef664b6eb0aa3eeab942d':
  [MIPS64] Adjust kernel/tools for mips32,mips64 headers

7 years agoam fb0a3622: Merge "Cache getpid."
Elliott Hughes [Fri, 20 Jun 2014 22:40:16 +0000 (22:40 +0000)]
am fb0a3622: Merge "Cache getpid."

* commit 'fb0a3622f79bb0a31dd4d0e2f9cea990075ef129':
  Cache getpid.

7 years agoMerge "Prevent symbols from libgcc from being reexported."
Dan Albert [Sat, 21 Jun 2014 07:59:57 +0000 (07:59 +0000)]
Merge "Prevent symbols from libgcc from being reexported."

7 years agoMerge "Remove SHA1 from LP64 in favor of libcrypto."
Dan Albert [Sat, 21 Jun 2014 04:43:24 +0000 (04:43 +0000)]
Merge "Remove SHA1 from LP64 in favor of libcrypto."

7 years agoMerge "[MIPS64] Regenerate mips kernel headers with fixed tool"
Christopher Ferris [Sat, 21 Jun 2014 00:58:04 +0000 (00:58 +0000)]
Merge "[MIPS64] Regenerate mips kernel headers with fixed tool"

7 years ago[MIPS64] Regenerate mips kernel headers with fixed tool
Duane Sand [Thu, 19 Jun 2014 22:39:29 +0000 (15:39 -0700)]
[MIPS64] Regenerate mips kernel headers with fixed tool

Change-Id: I530891123cba78edbea4aa8af88390213711ab16

7 years ago[MIPS64] Adjust kernel/tools for mips32,mips64 headers
Duane Sand [Thu, 19 Jun 2014 21:38:07 +0000 (14:38 -0700)]
[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

7 years agoMerge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"
Christopher Ferris [Sat, 21 Jun 2014 00:57:51 +0000 (00:57 +0000)]
Merge "[MIPS64] Adjust kernel/tools for mips32,mips64 headers"

7 years agoMerge "Use __builtin_*_chk for bcopy/bzero."
Dan Albert [Mon, 23 Jun 2014 17:02:40 +0000 (17:02 +0000)]
Merge "Use __builtin_*_chk for bcopy/bzero."

7 years agoUse __builtin_*_chk for bcopy/bzero.
Dan Albert [Sun, 22 Jun 2014 01:04:54 +0000 (18:04 -0700)]
Use __builtin_*_chk for bcopy/bzero.

Replacing memmove/memset with their builtin check equivalents fixes an
implicit definition warning when only including strings.h.

Change-Id: I74f03b9506ea37f5c2f9c11498e379a70998b430

7 years agoMerge "Cache getpid."
Elliott Hughes [Fri, 20 Jun 2014 18:47:46 +0000 (18:47 +0000)]
Merge "Cache getpid."

7 years agoCache getpid.
Elliott Hughes [Thu, 19 Jun 2014 23:39:01 +0000 (16:39 -0700)]
Cache getpid.

In practice, with this implementation we never need to make a system call.
We get the main thread's tid (which is the same as our pid) back from
the set_tid_address system call we have to make during initialization.
A new pthread will have the same pid as its parent, and a fork child's
main (and only) thread will have a pid equal to its tid, which we get for
free from the kernel before clone returns.

The only time we'd actually have to make a getpid system call now is if
we take a signal during fork and the signal handler calls getpid. (That,
or we call getpid in the dynamic linker while it's still dealing with its
own relocations and hasn't even set up the main thread yet.)

Bug: 15387103
Change-Id: I6d4718ed0a5c912fc75b5f738c49a023dbed5189

7 years agoam e58055f0: Merge "Expose tzname, daylight, and timezone."
Elliott Hughes [Thu, 19 Jun 2014 23:17:15 +0000 (23:17 +0000)]
am e58055f0: Merge "Expose tzname, daylight, and timezone."

* commit 'e58055f05dbbb22a9e308c4b628b93d858f57685':
  Expose tzname, daylight, and timezone.

7 years agoam d1bf3778: Merge "Build tzcode with hidden visibility."
Elliott Hughes [Thu, 19 Jun 2014 22:31:01 +0000 (22:31 +0000)]
am d1bf3778: Merge "Build tzcode with hidden visibility."

* commit 'd1bf37780d0bcaca3e6046171f958ebfea34bde1':
  Build tzcode with hidden visibility.

7 years agoMerge "Expose tzname, daylight, and timezone."
Elliott Hughes [Thu, 19 Jun 2014 23:09:03 +0000 (23:09 +0000)]
Merge "Expose tzname, daylight, and timezone."

7 years agoExpose tzname, daylight, and timezone.
Elliott Hughes [Thu, 19 Jun 2014 23:08:03 +0000 (16:08 -0700)]
Expose tzname, daylight, and timezone.

These were accidentally hidden.

Bug: 11156955
Change-Id: I380f00bdafa547aea13d4634f3de9ec6f0b50a6f

7 years agoam 29e3a0e3: Merge "Fix arm64 localtime.c build."
Elliott Hughes [Thu, 19 Jun 2014 21:31:49 +0000 (21:31 +0000)]
am 29e3a0e3: Merge "Fix arm64 localtime.c build."

* commit '29e3a0e312b7a76b91adfd77a399a390ffaed11d':
  Fix arm64 localtime.c build.

7 years agoam 477b45b8: Merge "Build tzcode with -Werror."
Elliott Hughes [Thu, 19 Jun 2014 21:22:31 +0000 (21:22 +0000)]
am 477b45b8: Merge "Build tzcode with -Werror."

* commit '477b45b89d84c9efec95c49a76cacbc9b2d5104c':
  Build tzcode with -Werror.

7 years agoMerge "Build tzcode with hidden visibility."
Elliott Hughes [Thu, 19 Jun 2014 22:25:00 +0000 (22:25 +0000)]
Merge "Build tzcode with hidden visibility."

7 years agoBuild tzcode with hidden visibility.
Elliott Hughes [Thu, 19 Jun 2014 21:49:30 +0000 (14:49 -0700)]
Build tzcode with hidden visibility.

Bug: 11156955
Change-Id: Ib98d837b56cbbdfd01687cb3054fe3103eec0da9

7 years agoMerge "Fix arm64 localtime.c build."
Elliott Hughes [Thu, 19 Jun 2014 21:20:33 +0000 (21:20 +0000)]
Merge "Fix arm64 localtime.c build."

7 years agoFix arm64 localtime.c build.
Elliott Hughes [Thu, 19 Jun 2014 21:19:24 +0000 (14:19 -0700)]
Fix arm64 localtime.c build.

I'm sick of having so many different compilers.

Change-Id: I9088c38df2504e2b827d0ce5ba0fa551ae48f8f9

7 years agoam 942fa486: Merge "Update localtime.c."
Elliott Hughes [Thu, 19 Jun 2014 18:12:17 +0000 (18:12 +0000)]
am 942fa486: Merge "Update localtime.c."

* commit '942fa486f669da8bb5db724d5c4fdc93b4fb65d9':
  Update localtime.c.

7 years agoam 5c864766: Merge "add 64-bit bionic implementation for denver arch"
Christopher Ferris [Thu, 19 Jun 2014 18:05:20 +0000 (18:05 +0000)]
am 5c864766: Merge "add 64-bit bionic implementation for denver arch"

* commit '5c8647665c7fa84f50f75a18f7455c8f9c927c39':
  add 64-bit bionic implementation for denver arch

7 years agoam 8a7cffc8: Merge "Reenable support for non-PIE executables"
Nick Kralevich [Thu, 19 Jun 2014 17:12:04 +0000 (17:12 +0000)]
am 8a7cffc8: Merge "Reenable support for non-PIE executables"

* commit '8a7cffc85dc4664a8bd7c3c526bfa56b25126864':
  Reenable support for non-PIE executables

7 years agoam 0df59bd3: Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
Dan Albert [Thu, 19 Jun 2014 09:21:39 +0000 (09:21 +0000)]
am 0df59bd3: Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""

* commit '0df59bd3a5aed6c90dbac80f2c85968af52730d6':
  Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."

7 years agoam 0b09153c: Merge "Move common macros into bionic_macros.h."
Christopher Ferris [Wed, 18 Jun 2014 22:58:29 +0000 (22:58 +0000)]
am 0b09153c: Merge "Move common macros into bionic_macros.h."

* commit '0b09153c12915c6d17434cf9fed2389f6fe4e713':
  Move common macros into bionic_macros.h.

7 years agoMerge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""
Dan Albert [Thu, 19 Jun 2014 04:03:11 +0000 (04:03 +0000)]
Merge "Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64.""

7 years agoRevert "Hide _tolower_tab_ and _toupper_tab_ on LP64."
Dan Albert [Thu, 19 Jun 2014 03:57:05 +0000 (03:57 +0000)]
Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."

This reverts commit dd4ad5c463c9bd479e8acf81227708717aafe204.

Change-Id: If3c9771825e460ce68604082f4feb0ca783e56c6

7 years agoam a5fe7b89: Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64."
Dan Albert [Wed, 18 Jun 2014 21:04:17 +0000 (21:04 +0000)]
am a5fe7b89: Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64."

* commit 'a5fe7b89528d8a03063a3579e971c901a2fc6f32':
  Hide _tolower_tab_ and _toupper_tab_ on LP64.

7 years agoam 49d5399b: Merge "Hide __atexit and remove __atexit_invalid."
Dan Albert [Wed, 18 Jun 2014 20:29:31 +0000 (20:29 +0000)]
am 49d5399b: Merge "Hide __atexit and remove __atexit_invalid."

* commit '49d5399bbcfae80d8b21f2303077b24257a1b966':
  Hide __atexit and remove __atexit_invalid.

7 years agoHide _tolower_tab_ and _toupper_tab_ on LP64.
Dan Albert [Wed, 18 Jun 2014 18:44:00 +0000 (11:44 -0700)]
Hide _tolower_tab_ and _toupper_tab_ on LP64.

We can't hide them on LP32 because they appeared in NDK headers.

Bug: 11156955
Change-Id: I22bf5a0f4d330c04b49565bc598cd0568128d4fc

7 years agoMerge "Hide _tolower_tab_ and _toupper_tab_ on LP64."
Dan Albert [Wed, 18 Jun 2014 20:51:26 +0000 (20:51 +0000)]
Merge "Hide _tolower_tab_ and _toupper_tab_ on LP64."

7 years agoam 64dfbd24: Merge "Fix weak function lookups"
Dmitriy Ivanov [Wed, 18 Jun 2014 15:56:19 +0000 (15:56 +0000)]
am 64dfbd24: Merge "Fix weak function lookups"

* commit '64dfbd242cddc3ef95576e27e3940d68b89b5fce':
  Fix weak function lookups

7 years agoam ef82c28d: Merge "Hide declaration of gets(3) for C11 and later."
Dan Albert [Wed, 18 Jun 2014 01:22:00 +0000 (01:22 +0000)]
am ef82c28d: Merge "Hide declaration of gets(3) for C11 and later."

* commit 'ef82c28db63c6f333edb7e9d7e7ad1baa656343c':
  Hide declaration of gets(3) for C11 and later.

7 years agoam 1ef3ba2b: Merge "Revert "Hide declaration of gets(3) for C11 and later.""
Dan Albert [Tue, 17 Jun 2014 23:39:30 +0000 (23:39 +0000)]
am 1ef3ba2b: Merge "Revert "Hide declaration of gets(3) for C11 and later.""

* commit '1ef3ba2b4fd2408cdd78828ec2930ce31ce8cee7':
  Revert "Hide declaration of gets(3) for C11 and later."

7 years agoam 185c399c: Merge "Hide declaration of gets(3) for C11 and later."
Dan Albert [Tue, 17 Jun 2014 23:30:18 +0000 (23:30 +0000)]
am 185c399c: Merge "Hide declaration of gets(3) for C11 and later."

* commit '185c399c581f867ad288737b5f824a1fda1f6aaf':
  Hide declaration of gets(3) for C11 and later.

7 years agoam 1d2b4c02: Merge "Move libraries for unit-tests to separate folder"
Dmitriy Ivanov [Tue, 17 Jun 2014 23:25:55 +0000 (23:25 +0000)]
am 1d2b4c02: Merge "Move libraries for unit-tests to separate folder"

* commit '1d2b4c022c419e1e85336fa44e644772eefb8b64':
  Move libraries for unit-tests to separate folder

7 years agoMerge "Hide declaration of gets(3) for C11 and later."
Dan Albert [Wed, 18 Jun 2014 01:15:15 +0000 (01:15 +0000)]
Merge "Hide declaration of gets(3) for C11 and later."

7 years agoHide declaration of gets(3) for C11 and later.
Dan Albert [Tue, 17 Jun 2014 23:31:21 +0000 (23:31 +0000)]
Hide declaration of gets(3) for C11 and later.

gets(3) was removed from C11.

This reverts commit 1291680c2a0c23b2163198d27e00261ca206298b.

Bug: 14500800
Change-Id: I5e5146bdbb80f2be818a17f287b112bab37d1f6d

7 years agoMerge "Move libraries for unit-tests to separate folder"
Dmitriy Ivanov [Tue, 17 Jun 2014 23:17:20 +0000 (23:17 +0000)]
Merge "Move libraries for unit-tests to separate folder"

7 years agoam b6ca7474: Merge "Add a flag control that PRIVATE libm can be chosen"
Elliott Hughes [Tue, 17 Jun 2014 22:42:16 +0000 (22:42 +0000)]
am b6ca7474: Merge "Add a flag control that PRIVATE libm can be chosen"

* commit 'b6ca7474023f7832d4230756781031b7687517e6':
  Add a flag control that PRIVATE libm can be chosen

7 years agoMove libraries for unit-tests to separate folder
Dmitriy Ivanov [Mon, 2 Jun 2014 23:29:00 +0000 (16:29 -0700)]
Move libraries for unit-tests to separate folder

Change-Id: I1653f3f2fd63ba25525369bc725c8f7438ecf021

7 years agoam 4ac22649: Merge "Add <linux/tty.h> to libc/include/sys/ioctl.h"
Elliott Hughes [Tue, 17 Jun 2014 21:53:05 +0000 (21:53 +0000)]
am 4ac22649: Merge "Add <linux/tty.h> to libc/include/sys/ioctl.h"

* commit '4ac22649441339d0a81e0fc6428ac7f1867ffe6f':
  Add <linux/tty.h> to libc/include/sys/ioctl.h

7 years agoMerge "Build tzcode with -Werror."
Elliott Hughes [Thu, 19 Jun 2014 21:16:37 +0000 (21:16 +0000)]
Merge "Build tzcode with -Werror."

7 years agoBuild tzcode with -Werror.
Elliott Hughes [Thu, 19 Jun 2014 20:54:10 +0000 (13:54 -0700)]
Build tzcode with -Werror.

Parts of this are just getting us in sync with upstream, but the
'const' stuff is our own mess. We should kill the *_tz functions
and lose this difference from upstream.

Change-Id: I17d26534ed3f54667143d78147a8c53be56d7b33

7 years agoMerge "Update localtime.c."
Elliott Hughes [Thu, 19 Jun 2014 18:03:40 +0000 (18:03 +0000)]
Merge "Update localtime.c."

7 years agoUpdate localtime.c.
Elliott Hughes [Thu, 19 Jun 2014 02:46:25 +0000 (19:46 -0700)]
Update localtime.c.

This brings us closer to upstream's ToT localtime.c; our main interest
being their alternative fix for the stack usage we addressed in commit
8a8b0c9bfcd80c67154ed2aca1e60d815c822acb.

Bug: 14468519
Change-Id: Ic28600115afda7f3158d91255edf422678bac082

7 years agoMerge "add 64-bit bionic implementation for denver arch"
Christopher Ferris [Thu, 19 Jun 2014 17:59:03 +0000 (17:59 +0000)]
Merge "add 64-bit bionic implementation for denver arch"

7 years agoMerge "Reenable support for non-PIE executables"
Nick Kralevich [Thu, 19 Jun 2014 17:04:12 +0000 (17:04 +0000)]
Merge "Reenable support for non-PIE executables"

7 years agoReenable support for non-PIE executables
Nick Kralevich [Thu, 19 Jun 2014 15:08:12 +0000 (08:08 -0700)]
Reenable support for non-PIE executables

On Nakasi builds, /system/bin/tf_daemon is a pre-compiled
vendor supplied binary. When support for non-PIE executables
was removed, that daemon failed to start, which induced
a number of bugs.

  * keystore is broken
  * CTS runs will hang after a certain period of time

Temporarily reenable non-PIE support for 32-bit platforms
until Nakasi is fixed.

This rolls back the following commits:

  Cleanup: updated comments
  * 6275f2083415d22a6ce0de55645079cd47e0cc80
  Cleanup: remove AARCH/ARM_COPY relocation support
  * b906e13c55c9fe9b4157ba548534a0230434882b

And restricts the following patch to 64 bit only:

  Remove support for non-PIE executables
  * 2aebf5429bb1241a3298b5b642d38f73124c2026

Bug: 14566672
Bug: 15086752
Bug: 15732002
Change-Id: Ia2501aa14bd30feb4a6ce66bdb7c9f066dba0b5f