OSDN Git Service

android-x86/bionic.git
8 years agoMerge "Remove --exclude-libs ldflags." am: 96029e30ce
Dan Albert [Fri, 6 May 2016 21:58:15 +0000 (21:58 +0000)]
Merge "Remove --exclude-libs ldflags." am: 96029e30ce
am: 4bdac0d684

* commit '4bdac0d68418ad995fa869fd36e38e18281af2f5':
  Remove --exclude-libs ldflags.

Change-Id: I8ee199154ac8e2f3ee1d028fc6ccea106b65f956

8 years agoMerge "Remove --exclude-libs ldflags."
Dan Albert [Fri, 6 May 2016 21:53:17 +0000 (21:53 +0000)]
Merge "Remove --exclude-libs ldflags."
am: 96029e30ce

* commit '96029e30cea4c5eb67ce61f3cddc1805f1262222':
  Remove --exclude-libs ldflags.

Change-Id: I654a829957ae60d29b59ae74edf62a1d9683d877

8 years agoMerge "Remove --exclude-libs ldflags."
Treehugger Robot [Fri, 6 May 2016 21:41:26 +0000 (21:41 +0000)]
Merge "Remove --exclude-libs ldflags."

8 years agoRemove --exclude-libs ldflags.
Dan Albert [Fri, 18 Sep 2015 17:41:54 +0000 (10:41 -0700)]
Remove --exclude-libs ldflags.

This is now done by default in the build system.

The comments say don't do this, but we have linker scripts that
protect the few symbols we have to actually keep now.

Bug: http://b/24166967
Change-Id: Iff1beeb0f54f80b23fb1561f37a39f208e0bf676

8 years agoMerge "Use clang\'s nullability instead of nonnull." am: 98ac6f415f
Dan Albert [Fri, 6 May 2016 02:44:10 +0000 (02:44 +0000)]
Merge "Use clang\'s nullability instead of nonnull." am: 98ac6f415f
am: 34c417f2a5

* commit '34c417f2a5abb53486a54b6b6ab800c0621f9cd7':
  Use clang's nullability instead of nonnull.

Change-Id: Ibed696d2f74ecb0c7bd36ca8c22ba792e50090a8

8 years agoMerge "Use clang\'s nullability instead of nonnull."
Dan Albert [Fri, 6 May 2016 02:39:07 +0000 (02:39 +0000)]
Merge "Use clang\'s nullability instead of nonnull."
am: 98ac6f415f

* commit '98ac6f415f4cd68be6691c1d04f59a76af802485':
  Use clang's nullability instead of nonnull.

Change-Id: I594fce602b20b2b8acaa7f99e1c3cb3f053d26e7

8 years agoMerge "Use clang's nullability instead of nonnull."
Treehugger Robot [Fri, 6 May 2016 02:27:17 +0000 (02:27 +0000)]
Merge "Use clang's nullability instead of nonnull."

8 years agoUse clang's nullability instead of nonnull.
Dan Albert [Thu, 13 Aug 2015 23:58:50 +0000 (16:58 -0700)]
Use clang's nullability instead of nonnull.

http://clang.llvm.org/docs/AttributeReference.html#nonnull

_Nonnull is similar to the nonnull attribute in that it will instruct
compilers to warn the user if it can prove that a null argument is
being passed. Unlike the nonnull attribute, this annotation indicated
that a value *should not* be null, not that it *cannot* be null, or
even that the behavior is undefined. The important distinction is that
the optimizer will perform surprising optimizations like the
following:

    void foo(void*) __attribute__(nonnull, 1);

    int bar(int* p) {
      foo(p);

      // The following null check will be elided because nonnull
      // attribute means that, since we call foo with p, p can be
      // assumed to not be null. Thus this will crash if we are called
      // with a null pointer.
      if (src != NULL) {
        return *p;
      }
      return 0;
    }

    int main() {
      return bar(NULL);
    }

Note that by doing this we are no longer attaching any sort of
attribute for GCC (GCC doesn't support attaching nonnull directly to a
parameter, only to the function and naming the arguments
positionally). This means we won't be getting a warning for this case
from GCC any more. People that listen to warnings tend to use clang
anyway, and we're quickly moving toward that as the default, so this
seems to be an acceptable tradeoff.

Change-Id: Ie05fe7cec2f19a082c1defb303f82bcf9241b88d

8 years agoMerge "Remove <sys/atomics.h>." am: 5e2342f970
Elliott Hughes [Fri, 6 May 2016 00:08:15 +0000 (00:08 +0000)]
Merge "Remove <sys/atomics.h>." am: 5e2342f970
am: bcb41f4b03

* commit 'bcb41f4b03b94000bbd26f2f4e1489d8727d0739':
  Remove <sys/atomics.h>.

Change-Id: I78b1b4eb4078c9c8e65901bd91122fd671f3bc95

8 years agoMerge "Remove <sys/atomics.h>."
Elliott Hughes [Fri, 6 May 2016 00:03:36 +0000 (00:03 +0000)]
Merge "Remove <sys/atomics.h>."
am: 5e2342f970

* commit '5e2342f9708bf4daadae5ec7b7c86dbee1c6857d':
  Remove <sys/atomics.h>.

Change-Id: I8df4d2fb8f99093046fadd696c4eafbf1524da33

8 years agoMerge "Remove <sys/atomics.h>."
Elliott Hughes [Thu, 5 May 2016 23:55:03 +0000 (23:55 +0000)]
Merge "Remove <sys/atomics.h>."

8 years agoMerge "Update Android.bp to match Android.mk" am: 7ee8e299ba
Colin Cross [Wed, 4 May 2016 20:58:05 +0000 (20:58 +0000)]
Merge "Update Android.bp to match Android.mk" am: 7ee8e299ba
am: d1d62db216

* commit 'd1d62db21684e3a993aa5a64b85ff463cf1ff910':
  Update Android.bp to match Android.mk

Change-Id: I85734cec027d6910aca944acf3e1b8f56d1bf922

8 years agoMerge "Update Android.bp to match Android.mk"
Colin Cross [Wed, 4 May 2016 20:51:56 +0000 (20:51 +0000)]
Merge "Update Android.bp to match Android.mk"
am: 7ee8e299ba

* commit '7ee8e299ba5dc7bb68c88931b04b10a69cf0f21f':
  Update Android.bp to match Android.mk

Change-Id: I5b1f6ae294d0a4eb0fa36107b458ecacbf8d38e5

8 years agoMerge "Update Android.bp to match Android.mk"
Colin Cross [Wed, 4 May 2016 20:41:17 +0000 (20:41 +0000)]
Merge "Update Android.bp to match Android.mk"

8 years agoUpdate Android.bp to match Android.mk
Colin Cross [Wed, 4 May 2016 00:09:38 +0000 (17:09 -0700)]
Update Android.bp to match Android.mk

Change-Id: Idaaf5019599739c50f387382ca6749af968d7095

8 years agoMerge "Fix google-explicit-constructor warnings." am: 9f0aab88a8
Chih-hung Hsieh [Wed, 4 May 2016 00:53:48 +0000 (00:53 +0000)]
Merge "Fix google-explicit-constructor warnings." am: 9f0aab88a8
am: 00975937b4

* commit '00975937b48b7ef3d50aac14afa72d41ee925904':
  Fix google-explicit-constructor warnings.

Change-Id: I7987cd4126e397cf1f4610f20b7bd62439d92aa7

8 years agoMerge "Fix google-explicit-constructor warnings."
Chih-Hung Hsieh [Wed, 4 May 2016 00:48:06 +0000 (00:48 +0000)]
Merge "Fix google-explicit-constructor warnings."
am: 9f0aab88a8

* commit '9f0aab88a881303be9babb273063a9ad6a1ee643':
  Fix google-explicit-constructor warnings.

Change-Id: Ie99b349b2337ade9815616ec46a6c3bb377b992c

8 years agoMerge "Fix google-explicit-constructor warnings."
Chih-hung Hsieh [Wed, 4 May 2016 00:37:58 +0000 (00:37 +0000)]
Merge "Fix google-explicit-constructor warnings."

8 years agoMerge "Update strip property format" am: 0f93237db7
Colin Cross [Tue, 3 May 2016 21:34:32 +0000 (21:34 +0000)]
Merge "Update strip property format" am: 0f93237db7
am: eac1faede3

* commit 'eac1faede3fd3f50d9bceed6806b95795d841327':
  Update strip property format

Change-Id: Iecfc273ae057c3d941db26ab2b2062c05dda4055

8 years agoMerge "Update strip property format"
Colin Cross [Tue, 3 May 2016 21:32:06 +0000 (21:32 +0000)]
Merge "Update strip property format"
am: 0f93237db7

* commit '0f93237db72d2d6d3fc3c491fd9f8641ad255d50':
  Update strip property format

Change-Id: Iedb5b190d6f7c9669d8b98f239033e873a16c549

8 years agoMerge "Update strip property format"
Colin Cross [Tue, 3 May 2016 21:20:42 +0000 (21:20 +0000)]
Merge "Update strip property format"

8 years agoMerge "Update documentation to work with gitiles." am: 2ab69ccf10
Christopher Ferris [Tue, 3 May 2016 19:57:44 +0000 (19:57 +0000)]
Merge "Update documentation to work with gitiles." am: 2ab69ccf10
am: 9fa7b87802

* commit '9fa7b87802360d419486c592389b147add2e91f6':
  Update documentation to work with gitiles.

Change-Id: I3027dff2d336d8d9afe2ae5452af62323df7b951

8 years agoMerge "Update documentation to work with gitiles."
Christopher Ferris [Tue, 3 May 2016 19:55:19 +0000 (19:55 +0000)]
Merge "Update documentation to work with gitiles."
am: 2ab69ccf10

* commit '2ab69ccf10770b398b22af722f6e4f8443d0e48c':
  Update documentation to work with gitiles.

Change-Id: I6654024c1ca69c60a97c6b8ad88fcadebfb8abfd

8 years agoMerge "Update documentation to work with gitiles."
Christopher Ferris [Tue, 3 May 2016 19:47:47 +0000 (19:47 +0000)]
Merge "Update documentation to work with gitiles."

8 years agoFix google-explicit-constructor warnings.
Chih-Hung Hsieh [Tue, 3 May 2016 19:08:05 +0000 (12:08 -0700)]
Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: I84effbdfa1b9b39328a909b7f70fe17e7ee316c8

8 years agoMerge "Revert "Add a test exercising ptrace watchpoint functionality"" into nyc-dev
Pavel Labath [Tue, 3 May 2016 17:19:18 +0000 (17:19 +0000)]
Merge "Revert "Add a test exercising ptrace watchpoint functionality"" into nyc-dev
am: cd0a8fa09d  -s ours

* commit 'cd0a8fa09d284b49adbb2345821ce481fe369972':
  Revert "Add a test exercising ptrace watchpoint functionality"

Change-Id: I3fc5badf12c0c5df4fedd0fb420466ccbf6323fa

8 years agoMerge "Revert "Add a test exercising ptrace watchpoint functionality"" into nyc-dev
TreeHugger Robot [Tue, 3 May 2016 16:43:00 +0000 (16:43 +0000)]
Merge "Revert "Add a test exercising ptrace watchpoint functionality"" into nyc-dev

8 years agoRevert "Add a test exercising ptrace watchpoint functionality"
Pavel Labath [Tue, 3 May 2016 14:46:03 +0000 (14:46 +0000)]
Revert "Add a test exercising ptrace watchpoint functionality"

This test appears to be failing on shamu devices. Revert until we figure out what's the problem.

This reverts commit 88ce78d93a465c1c635901d26542d5ec07b6b6ee.

Bug: 28514348
Change-Id: I0d91ca5eb59eb3ccb5d48b02b245e0f1bcffb5bb

8 years agoMerge "Move <machine/endian.h> somewhere more private." am: 9ee905f12f
Elliott Hughes [Tue, 3 May 2016 01:04:39 +0000 (01:04 +0000)]
Merge "Move <machine/endian.h> somewhere more private." am: 9ee905f12f
am: 19da0526bc

* commit '19da0526bca0f441da6085eae2cc10efa52c6775':
  Move <machine/endian.h> somewhere more private.

Change-Id: Ia9e2d579798f645e7da19558deb1d56ded7968f9

8 years agoMerge "Move <machine/endian.h> somewhere more private."
Elliott Hughes [Tue, 3 May 2016 01:00:05 +0000 (01:00 +0000)]
Merge "Move <machine/endian.h> somewhere more private."
am: 9ee905f12f

* commit '9ee905f12fa0aeb4ae0df708e15d2ffcfaf58000':
  Move <machine/endian.h> somewhere more private.

Change-Id: I93f403f57759e32dc6ca887be6718927ebca0083

8 years agoMerge "Move <machine/endian.h> somewhere more private."
Elliott Hughes [Tue, 3 May 2016 00:45:38 +0000 (00:45 +0000)]
Merge "Move <machine/endian.h> somewhere more private."

8 years agoMerge "Update Android.bp to match Android.mk" am: 45d3cf9f0f
Colin Cross [Mon, 2 May 2016 23:34:51 +0000 (23:34 +0000)]
Merge "Update Android.bp to match Android.mk" am: 45d3cf9f0f
am: 24c1e2df1c

* commit '24c1e2df1ce40583561946ebdb7552e88451bc12':
  Update Android.bp to match Android.mk

Change-Id: Ie50fd99a246e583869433866ff112fc1ffb64cea

8 years agoMerge "Update Android.bp to match Android.mk"
Colin Cross [Mon, 2 May 2016 23:29:41 +0000 (23:29 +0000)]
Merge "Update Android.bp to match Android.mk"
am: 45d3cf9f0f

* commit '45d3cf9f0f48594c4c092d3aef05f82639216ebd':
  Update Android.bp to match Android.mk

Change-Id: Ic818be033bbc0d85cb7ae34559b2d5595ca1ea95

8 years agoMerge "Update Android.bp to match Android.mk"
Treehugger Robot [Mon, 2 May 2016 23:19:20 +0000 (23:19 +0000)]
Merge "Update Android.bp to match Android.mk"

8 years agoRemove <sys/atomics.h>.
Elliott Hughes [Mon, 2 May 2016 23:03:10 +0000 (16:03 -0700)]
Remove <sys/atomics.h>.

It's no longer used in the platform (including vendor code), and everyone
should be using <stdatomic.h> anyway.

Change-Id: Ic1ad743625ffb15b4837ff6ccb91dcd840d19ec2

8 years agoMerge "Move glibc-syscalls.h into bits/." am: 3338ee5257
Elliott Hughes [Mon, 2 May 2016 23:04:43 +0000 (23:04 +0000)]
Merge "Move glibc-syscalls.h into bits/." am: 3338ee5257
am: 4ce2c90739

* commit '4ce2c9073974b7837b9e97f9f55c555f21204ccf':
  Move glibc-syscalls.h into bits/.

Change-Id: If515c3f4b7fa8791a84e534bb626d3690d12e10a

8 years agoMerge "Move glibc-syscalls.h into bits/."
Elliott Hughes [Mon, 2 May 2016 22:59:22 +0000 (22:59 +0000)]
Merge "Move glibc-syscalls.h into bits/."
am: 3338ee5257

* commit '3338ee52576632fd96bc131c6e943fa6f9a62139':
  Move glibc-syscalls.h into bits/.

Change-Id: Iaf9406a2ccf84c80685fcc4ce6000338d0721543

8 years agoMove <machine/endian.h> somewhere more private.
Elliott Hughes [Mon, 2 May 2016 21:55:28 +0000 (14:55 -0700)]
Move <machine/endian.h> somewhere more private.

Bug: http://b/28519060
Change-Id: I1c7811f95f46c65d4152bcf509b6e048c45bc28b

8 years agoMerge "Move glibc-syscalls.h into bits/."
Elliott Hughes [Mon, 2 May 2016 22:41:34 +0000 (22:41 +0000)]
Merge "Move glibc-syscalls.h into bits/."

8 years agoMerge "Remove <sys/utime.h>." am: 3fb1b37bba
Elliott Hughes [Mon, 2 May 2016 21:52:38 +0000 (21:52 +0000)]
Merge "Remove <sys/utime.h>." am: 3fb1b37bba
am: d616ea2081

* commit 'd616ea2081097b6c5a10dbb1e0d27c0a593c2361':
  Remove <sys/utime.h>.

Change-Id: I4030dc76eaf83a690a3f81f17a37e8d7c42f22f1

8 years agoMerge "Remove <sys/utime.h>."
Elliott Hughes [Mon, 2 May 2016 21:47:08 +0000 (21:47 +0000)]
Merge "Remove <sys/utime.h>."
am: 3fb1b37bba

* commit '3fb1b37bbae91652f2fe93fde1284e80f2d57937':
  Remove <sys/utime.h>.

Change-Id: I38b5e309146dc708ccefaee9751c7f413a481bf9

8 years agoMerge "Move the IEEE fp header out of the public headers." am: d3b4166b5b
Elliott Hughes [Mon, 2 May 2016 21:41:35 +0000 (21:41 +0000)]
Merge "Move the IEEE fp header out of the public headers." am: d3b4166b5b
am: 4146ea5a68

* commit '4146ea5a685bfef5b4c799c16241085d583e3c51':
  Move the IEEE fp header out of the public headers.

Change-Id: I64b594d96c8b25610ba15ffdc31e05eeecfbdce4

8 years agoMerge "Move the IEEE fp header out of the public headers."
Elliott Hughes [Mon, 2 May 2016 21:36:39 +0000 (21:36 +0000)]
Merge "Move the IEEE fp header out of the public headers."
am: d3b4166b5b

* commit 'd3b4166b5bd9b3532cf686d7f19a608f78a65453':
  Move the IEEE fp header out of the public headers.

Change-Id: Id61a467cbcee3939d86ded96cefd57937276d869

8 years agoMerge "Remove <sys/utime.h>."
Elliott Hughes [Mon, 2 May 2016 21:35:14 +0000 (21:35 +0000)]
Merge "Remove <sys/utime.h>."

8 years agoMerge "Move nsswitch.h into libc/dns/include." am: eb9b0a1819
Elliott Hughes [Mon, 2 May 2016 21:31:03 +0000 (21:31 +0000)]
Merge "Move nsswitch.h into libc/dns/include." am: eb9b0a1819
am: 95915bdab9

* commit '95915bdab9dd3f43ebd4db7f33a3de214e348afe':
  Move nsswitch.h into libc/dns/include.

Change-Id: I047b4b4e5a0c8edf5b4f79f12d1656c503c4c3f5

8 years agoMerge "Remove <net/if_ieee1394.h>." am: af5afdba34
Elliott Hughes [Mon, 2 May 2016 21:31:01 +0000 (21:31 +0000)]
Merge "Remove <net/if_ieee1394.h>." am: af5afdba34
am: acb5ffc6b3

* commit 'acb5ffc6b37415efd582db61df6d94d813eb13c8':
  Remove <net/if_ieee1394.h>.

Change-Id: I6a742a40004f77c4ed3df6c8f4210fd403ad0cde

8 years agoMerge "Remove <sys/ioctl_compat.h>." am: 5ab6f6c3bd
Elliott Hughes [Mon, 2 May 2016 21:31:00 +0000 (21:31 +0000)]
Merge "Remove <sys/ioctl_compat.h>." am: 5ab6f6c3bd
am: ca9953a31a

* commit 'ca9953a31a889e19ee88eddf994dd361ee4af3e4':
  Remove <sys/ioctl_compat.h>.

Change-Id: I061d26e0a6d188b8a289b9369a1547efec0546dd

8 years agoMerge "Move nsswitch.h into libc/dns/include."
Elliott Hughes [Mon, 2 May 2016 21:25:57 +0000 (21:25 +0000)]
Merge "Move nsswitch.h into libc/dns/include."
am: eb9b0a1819

* commit 'eb9b0a181930bf1e63019343fe63e2e08ba03b69':
  Move nsswitch.h into libc/dns/include.

Change-Id: I201d4c0efecbdff11087b70a556ee8e12ee39304

8 years agoMerge "Remove <net/if_ieee1394.h>."
Elliott Hughes [Mon, 2 May 2016 21:25:56 +0000 (21:25 +0000)]
Merge "Remove <net/if_ieee1394.h>."
am: af5afdba34

* commit 'af5afdba34619ef1b6286b0d7d9a54ad998420fb':
  Remove <net/if_ieee1394.h>.

Change-Id: I0eea42b389bec443b4d1962f4f2e78a0c0ef5fd0

8 years agoMerge "Remove <sys/ioctl_compat.h>."
Elliott Hughes [Mon, 2 May 2016 21:25:55 +0000 (21:25 +0000)]
Merge "Remove <sys/ioctl_compat.h>."
am: 5ab6f6c3bd

* commit '5ab6f6c3bdceb9e17a29cd35586b7b2bd3e6ab53':
  Remove <sys/ioctl_compat.h>.

Change-Id: I1590c204cefb5f0f42c18e78980dcec5e26ed1f1

8 years agoMerge "Move the IEEE fp header out of the public headers."
Elliott Hughes [Mon, 2 May 2016 21:22:31 +0000 (21:22 +0000)]
Merge "Move the IEEE fp header out of the public headers."

8 years agoMerge "Move nsswitch.h into libc/dns/include."
Elliott Hughes [Mon, 2 May 2016 21:11:30 +0000 (21:11 +0000)]
Merge "Move nsswitch.h into libc/dns/include."

8 years agoMerge "Remove <net/if_ieee1394.h>."
Elliott Hughes [Mon, 2 May 2016 21:11:10 +0000 (21:11 +0000)]
Merge "Remove <net/if_ieee1394.h>."

8 years agoMerge "Remove <sys/ioctl_compat.h>."
Elliott Hughes [Mon, 2 May 2016 21:07:13 +0000 (21:07 +0000)]
Merge "Remove <sys/ioctl_compat.h>."

8 years agoMerge "Remove unused <sys/socketcalls.h> header." am: d3f51a482f
Elliott Hughes [Mon, 2 May 2016 20:19:35 +0000 (20:19 +0000)]
Merge "Remove unused <sys/socketcalls.h> header." am: d3f51a482f
am: f016491373

* commit 'f016491373b5ece75377fb20227d8824f9c757c4':
  Remove unused <sys/socketcalls.h> header.

Change-Id: Ie2b5979fc142e7feb9b574e9813994f1a34908fd

8 years agoMerge "Remove unused <sys/socketcalls.h> header."
Elliott Hughes [Mon, 2 May 2016 20:14:47 +0000 (20:14 +0000)]
Merge "Remove unused <sys/socketcalls.h> header."
am: d3f51a482f

* commit 'd3f51a482f196cd29e6da0db2f8513670e9a66cf':
  Remove unused <sys/socketcalls.h> header.

Change-Id: I7716e09ec30f03dbede30ba6cfe2ef9214856644

8 years agoRemove <sys/utime.h>.
Elliott Hughes [Mon, 2 May 2016 20:13:49 +0000 (13:13 -0700)]
Remove <sys/utime.h>.

As far as I can tell, this is a Windows-ism.

Bug: http://b/28519060
Change-Id: I28ca39ba799aaae81695eff3ce57eacb326e941c

8 years agoMerge "Remove unused <sys/socketcalls.h> header."
Elliott Hughes [Mon, 2 May 2016 20:03:53 +0000 (20:03 +0000)]
Merge "Remove unused <sys/socketcalls.h> header."

8 years agoRemove <sys/ioctl_compat.h>.
Elliott Hughes [Mon, 2 May 2016 19:53:00 +0000 (12:53 -0700)]
Remove <sys/ioctl_compat.h>.

This is all legacy BSD stuff (legacy even on BSD!) that's meaningless on Linux.

Bug: http://b/28519060
Change-Id: I92d317ede844ebd50b48368021fa2ad036e2b0c1

8 years agoMove glibc-syscalls.h into bits/.
Elliott Hughes [Mon, 2 May 2016 19:47:58 +0000 (12:47 -0700)]
Move glibc-syscalls.h into bits/.

Bug: http://b/28519060
Change-Id: I0de1ba16b16eb7b780de89954d3fa45cca2f5295

8 years agoMove the IEEE fp header out of the public headers.
Elliott Hughes [Mon, 2 May 2016 19:44:41 +0000 (12:44 -0700)]
Move the IEEE fp header out of the public headers.

Bug: http://b/28519060
Change-Id: I9f1a1a9ac1f22462bf86991b57c51824cb42eefd

8 years agoRemove <net/if_ieee1394.h>.
Elliott Hughes [Mon, 2 May 2016 19:35:26 +0000 (12:35 -0700)]
Remove <net/if_ieee1394.h>.

It's 2016.

Bug: http://b/28519060
Change-Id: Idbb2c40f37e57a87933b8b13b20e15035105e918

8 years agoMove nsswitch.h into libc/dns/include.
Elliott Hughes [Mon, 2 May 2016 19:24:58 +0000 (12:24 -0700)]
Move nsswitch.h into libc/dns/include.

Not a public header file except in NetBSD, where it came from. Even
OpenBSD doesn't have it.

Bug: http://b/28519060
Change-Id: Id5feec4a4e8010a9f4433e73b1bfa6f935d884b9

8 years agoMerge changes I25dca710,I85fdf927,I667fe53e,I46bf95ac am: 583a4f8d35
Josh Gao [Mon, 2 May 2016 18:53:31 +0000 (18:53 +0000)]
Merge changes I25dca710,I85fdf927,I667fe53e,I46bf95ac am: 583a4f8d35
am: 0910c25811

* commit '0910c258110cdb36ab4dfb67f7c0c6f248100fb6':
  Remove nonexported _ns_flagdata from public header.
  Add platform specific version tags.
  Add __INTRODUCED_IN_FUTURE for unreleased APIs.
  Add versioning information to symbols.

Change-Id: Ia45ce4f55f24985ff6c1cc17d7ade2004611fa21

8 years agoMerge changes I25dca710,I85fdf927,I667fe53e,I46bf95ac
Josh Gao [Mon, 2 May 2016 18:49:06 +0000 (18:49 +0000)]
Merge changes I25dca710,I85fdf927,I667fe53e,I46bf95ac
am: 583a4f8d35

* commit '583a4f8d35d1de3e0e4d300d75a578b6bdc3b47a':
  Remove nonexported _ns_flagdata from public header.
  Add platform specific version tags.
  Add __INTRODUCED_IN_FUTURE for unreleased APIs.
  Add versioning information to symbols.

Change-Id: I544c8c9d23ed21b454cb98e46f36bbd14269f9e7

8 years agoMerge changes I25dca710,I85fdf927,I667fe53e,I46bf95ac
Josh Gao [Mon, 2 May 2016 18:33:04 +0000 (18:33 +0000)]
Merge changes I25dca710,I85fdf927,I667fe53e,I46bf95ac

* changes:
  Remove nonexported _ns_flagdata from public header.
  Add platform specific version tags.
  Add __INTRODUCED_IN_FUTURE for unreleased APIs.
  Add versioning information to symbols.

8 years agoRemove unused <sys/socketcalls.h> header.
Elliott Hughes [Mon, 2 May 2016 15:09:37 +0000 (08:09 -0700)]
Remove unused <sys/socketcalls.h> header.

These constants come from <linux/net.h> on Linux.

Change-Id: I546fadac2478771c2455298d776dbc4a20c73b17

8 years agoMerge "Fix various empty .h files in bionic." am: ec4671928c
Elliott Hughes [Mon, 2 May 2016 14:55:44 +0000 (14:55 +0000)]
Merge "Fix various empty .h files in bionic." am: ec4671928c
am: ae76af4962

* commit 'ae76af4962750936c5c9b4c65933299145fd2ca1':
  Fix various empty .h files in bionic.

Change-Id: I3d7996f593daf7248b8ab96a5d11e37de8da3fe1

8 years agoMerge "Fix various empty .h files in bionic."
Elliott Hughes [Mon, 2 May 2016 14:51:32 +0000 (14:51 +0000)]
Merge "Fix various empty .h files in bionic."
am: ec4671928c

* commit 'ec4671928c39b14f7f22c12ffef0e0bcdd58edfe':
  Fix various empty .h files in bionic.

Change-Id: I50eec4dc6467e591bca7a80078834cf5a0dae191

8 years agoMerge "Fix various empty .h files in bionic."
Elliott Hughes [Mon, 2 May 2016 14:43:01 +0000 (14:43 +0000)]
Merge "Fix various empty .h files in bionic."

8 years agoMerge "Record the resolution start time on errors." into nyc-dev
Pierre Imai [Mon, 2 May 2016 12:55:41 +0000 (12:55 +0000)]
Merge "Record the resolution start time on errors." into nyc-dev
am: ad59ec1da8

* commit 'ad59ec1da8df80bb56c76a5f14a3d7aef1e6d1c9':
  Record the resolution start time on errors.

Change-Id: I72f121143eab0cae6703c5f302187e06c338a420

8 years agoMerge "Record the resolution start time on errors." into nyc-dev
Lorenzo Colitti [Mon, 2 May 2016 12:46:17 +0000 (12:46 +0000)]
Merge "Record the resolution start time on errors." into nyc-dev

8 years agoMerge "Record the resolution start time on errors." am: edfc5d7b74
Lorenzo Colitti [Mon, 2 May 2016 11:42:08 +0000 (11:42 +0000)]
Merge "Record the resolution start time on errors." am: edfc5d7b74
am: 1ea26abae5

* commit '1ea26abae5f72e9509de42061419b6956f79b6b5':
  Record the resolution start time on errors.

Change-Id: I13868536d139255210a2e9bb58b7288391e9b5ea

8 years agoMerge "Record the resolution start time on errors."
Pierre Imai [Mon, 2 May 2016 11:38:02 +0000 (11:38 +0000)]
Merge "Record the resolution start time on errors."
am: edfc5d7b74

* commit 'edfc5d7b74d85727557dabc701780b997db96cdd':
  Record the resolution start time on errors.

Change-Id: I4592a3c3e7ca1158ee1f9cd0df777dbbcd7f7b16

8 years agoMerge "Record the resolution start time on errors."
Lorenzo Colitti [Mon, 2 May 2016 11:28:42 +0000 (11:28 +0000)]
Merge "Record the resolution start time on errors."

8 years agoRecord the resolution start time on errors.
Pierre Imai [Wed, 27 Apr 2016 08:30:30 +0000 (17:30 +0900)]
Record the resolution start time on errors.

Also only record samples on the first try for a server.

BUG: 25731675

Change-Id: I10a68813c6636874e63aca1db661e63e1af72a2d
(cherry picked from commit 8b8611a0e6f1928b793c17e80d22c1e2810eadc0)

8 years agoRecord the resolution start time on errors.
Pierre Imai [Wed, 27 Apr 2016 08:30:30 +0000 (17:30 +0900)]
Record the resolution start time on errors.

Also only record samples on the first try for a server.

BUG: 25731675

Change-Id: I10a68813c6636874e63aca1db661e63e1af72a2d

8 years agoFix various empty .h files in bionic.
Elliott Hughes [Sat, 30 Apr 2016 05:30:19 +0000 (22:30 -0700)]
Fix various empty .h files in bionic.

Bug: http://b/28432688
Change-Id: I339f5221b9e66ce5983eb3685b9405e8d6f58808

8 years agoMerge changes I0aa46d9d,I6431111b am: ee6fb66dc1
Josh Gao [Sat, 30 Apr 2016 00:55:59 +0000 (00:55 +0000)]
Merge changes I0aa46d9d,I6431111b am: ee6fb66dc1
am: f8b63759dd

* commit 'f8b63759dd035e4e235830b996d2cc028869e802':
  Add __INTRODUCED_IN_{32,64}.
  Add __INTRODUCED_IN hack to complex test.

Change-Id: I22ed91a7b06063632a4219f1d96eff8a08a44ce2

8 years agoMerge changes I0aa46d9d,I6431111b
Josh Gao [Sat, 30 Apr 2016 00:53:46 +0000 (00:53 +0000)]
Merge changes I0aa46d9d,I6431111b
am: ee6fb66dc1

* commit 'ee6fb66dc1a180ce0206a5ea0522000cfcf4c8b1':
  Add __INTRODUCED_IN_{32,64}.
  Add __INTRODUCED_IN hack to complex test.

Change-Id: I8ea14d0e6897d0bbfc8bee77fc6f4cc7786c90db

8 years agoMerge changes I0aa46d9d,I6431111b
Treehugger Robot [Sat, 30 Apr 2016 00:48:38 +0000 (00:48 +0000)]
Merge changes I0aa46d9d,I6431111b

* changes:
  Add __INTRODUCED_IN_{32,64}.
  Add __INTRODUCED_IN hack to complex test.

8 years agoRemove nonexported _ns_flagdata from public header.
Josh Gao [Fri, 29 Apr 2016 21:35:55 +0000 (14:35 -0700)]
Remove nonexported _ns_flagdata from public header.

Bug: http://b/28178111
Change-Id: I25dca710964099c4e07bf694635db75a72b38508

8 years agoAdd __INTRODUCED_IN_{32,64}.
Josh Gao [Fri, 29 Apr 2016 19:15:18 +0000 (12:15 -0700)]
Add __INTRODUCED_IN_{32,64}.

Some symbols appeared at different times between 32 and 64 bit. Add a
macro to represent this.

Bug: http://b/28178111
Change-Id: I0aa46d9da3c7301b60df0416bce252f0f37b7b36

8 years agoAdd platform specific version tags.
Josh Gao [Fri, 29 Apr 2016 23:36:01 +0000 (16:36 -0700)]
Add platform specific version tags.

Some functions were added at different times on different platforms.
This should hopefully get most of them.

Bug: http://b/28178111
Change-Id: I85fdf92779a2f3277e9b537c6bfc7216790c607a

8 years agoAdd __INTRODUCED_IN hack to complex test.
Josh Gao [Fri, 29 Apr 2016 18:52:39 +0000 (11:52 -0700)]
Add __INTRODUCED_IN hack to complex test.

complex_test.cpp is compiled with both bionic and glibc, so when
__INTRODUCED_IN starts being used in <complex.h>, we'll need this to
keep it building.

Bug: http://b/28178111
Change-Id: I6431111be35288cad72e9c23ca8599f548b6d906

8 years agoAdd __INTRODUCED_IN_FUTURE for unreleased APIs.
Josh Gao [Fri, 29 Apr 2016 20:45:25 +0000 (13:45 -0700)]
Add __INTRODUCED_IN_FUTURE for unreleased APIs.

Future API levels aren't known (e.g. 25 could be a maintenance release
of N that doesn't contain any bionic updates), so use a placeholder
macro that we can find and replace with the actual API level before each
release.

Bug: http://b/28178111
Change-Id: I667fe53ea1ac49b64135170fc30d5dbe9df94e29

8 years agoAdd versioning information to symbols.
Josh Gao [Fri, 29 Apr 2016 19:00:55 +0000 (12:00 -0700)]
Add versioning information to symbols.

Bug: http://b/28178111
Change-Id: I46bf95accd819f4521afb1173d8badcc5e9df31c

8 years agoMerge "Remove __UNAVAILABLE." am: e23df93915
Elliott Hughes [Fri, 29 Apr 2016 22:20:05 +0000 (22:20 +0000)]
Merge "Remove __UNAVAILABLE." am: e23df93915
am: 5a9efce22d

* commit '5a9efce22dacab89453be3722e73d9781ca2b40d':
  Remove __UNAVAILABLE.

Change-Id: Id018e29a6e24a9b11b67465569df126f234374ff

8 years agoMerge "Remove __UNAVAILABLE."
Elliott Hughes [Fri, 29 Apr 2016 22:17:48 +0000 (22:17 +0000)]
Merge "Remove __UNAVAILABLE."
am: e23df93915

* commit 'e23df93915dd89ae9661dded3c51bfd5a0bd185e':
  Remove __UNAVAILABLE.

Change-Id: Iaedcb05c20d8afc5daa501adce75bf36dfedaba6

8 years agoMerge "Remove __UNAVAILABLE."
Elliott Hughes [Fri, 29 Apr 2016 22:12:20 +0000 (22:12 +0000)]
Merge "Remove __UNAVAILABLE."

8 years agoUpdate strip property format
Colin Cross [Mon, 25 Apr 2016 21:09:13 +0000 (14:09 -0700)]
Update strip property format

Change-Id: Ic95655d25753b2c0f056a5660d42f582f90abe74

8 years agoUpdate Android.bp to match Android.mk
Colin Cross [Fri, 29 Apr 2016 21:06:07 +0000 (14:06 -0700)]
Update Android.bp to match Android.mk

Change-Id: I6b71d8ee91c550e2d37c88ce2ca088964639d433

8 years agoMerge "Fix <wctype.h>." am: 146cbacea0
Elliott Hughes [Fri, 29 Apr 2016 18:20:29 +0000 (18:20 +0000)]
Merge "Fix <wctype.h>." am: 146cbacea0
am: 005276fd95

* commit '005276fd959dfd79102c06fc901e7035342facf2':
  Fix <wctype.h>.

Change-Id: I0bc876c8f914a48c62493a8595e8e1433846902e

8 years agoMerge "Fix <wctype.h>."
Elliott Hughes [Fri, 29 Apr 2016 18:18:11 +0000 (18:18 +0000)]
Merge "Fix <wctype.h>."
am: 146cbacea0

* commit '146cbacea0754356a784608474149d291d92500a':
  Fix <wctype.h>.

Change-Id: Ica0217c3d10677f3d6d502ffa4ca4f6b8d56226d

8 years agoRemove __UNAVAILABLE.
Elliott Hughes [Fri, 29 Apr 2016 18:07:55 +0000 (11:07 -0700)]
Remove __UNAVAILABLE.

We fixed the things we needed this for, and should never reintroduce a
similar mistake in future.

Change-Id: I74b447bcf22ea533f3c79db48b66a3c217d76c2f

8 years agoMerge "Fix <wctype.h>."
Elliott Hughes [Fri, 29 Apr 2016 18:05:28 +0000 (18:05 +0000)]
Merge "Fix <wctype.h>."

8 years agoMerge "Remove declaration of pthread_cond_timeout_np." am: adc8d34137
Elliott Hughes [Fri, 29 Apr 2016 15:22:21 +0000 (15:22 +0000)]
Merge "Remove declaration of pthread_cond_timeout_np." am: adc8d34137
am: 45588044be

* commit '45588044be26939024317f164ff53098ff2bd553':
  Remove declaration of pthread_cond_timeout_np.

Change-Id: I6377985e80f6a36e0c2b94fd2275b5a8ce33c794

8 years agoMerge "Remove declaration of pthread_cond_timeout_np."
Elliott Hughes [Fri, 29 Apr 2016 15:19:30 +0000 (15:19 +0000)]
Merge "Remove declaration of pthread_cond_timeout_np."
am: adc8d34137

* commit 'adc8d34137848e78e50a46724a3f8858c17eaf49':
  Remove declaration of pthread_cond_timeout_np.

Change-Id: Ic162efaf980dc9d09261bbb586201bd994fc755f

8 years agoMerge "Remove declaration of pthread_cond_timeout_np."
Elliott Hughes [Fri, 29 Apr 2016 15:11:59 +0000 (15:11 +0000)]
Merge "Remove declaration of pthread_cond_timeout_np."

8 years agoMerge "Update timezone data to 2016d" am: 216c3007ed
Neil Fuller [Fri, 29 Apr 2016 09:34:01 +0000 (09:34 +0000)]
Merge "Update timezone data to 2016d" am: 216c3007ed
am: fdedef9d98

* commit 'fdedef9d989db958c838b4f5fda36b5504cb343b':
  Update timezone data to 2016d

Change-Id: I911f6b7eebfd4a06392aacbb5553a5e1f865c53e