OSDN Git Service

android-x86/bionic.git
8 years agoUpdate timezone data to 2016e am: 1b0ee2041c
Neil Fuller [Thu, 16 Jun 2016 15:14:49 +0000 (15:14 +0000)]
Update timezone data to 2016e am: 1b0ee2041c
am: 0b8f81e031

Change-Id: I74b946314903ff7af6b9e5034b65febe14da491d

8 years agoUpdate timezone data to 2016e
Neil Fuller [Thu, 16 Jun 2016 15:12:55 +0000 (15:12 +0000)]
Update timezone data to 2016e
am: 1b0ee2041c

Change-Id: I5d088848d55981de98d82b7a93f7e0d8af7aa1d3

8 years agoMerge \"Add test for a pty kernel bug.\" into nyc-mr1-dev
Yabin Cui [Wed, 15 Jun 2016 21:40:29 +0000 (21:40 +0000)]
Merge \"Add test for a pty kernel bug.\" into nyc-mr1-dev
am: 8a05740714

Change-Id: I42f9d6bde58d23a54147a1b8ad1c7865a1ff23d1

8 years agoMerge "Add test for a pty kernel bug." into nyc-mr1-dev
Yabin Cui [Wed, 15 Jun 2016 21:25:48 +0000 (21:25 +0000)]
Merge "Add test for a pty kernel bug." into nyc-mr1-dev

8 years agoAdd test for a pty kernel bug.
Yabin Cui [Thu, 9 Jun 2016 23:36:28 +0000 (16:36 -0700)]
Add test for a pty kernel bug.

Bug: 28979140
Change-Id: Iad79fcb7a3c5b068f625c7902785cc6e696fe9a1

8 years agoUpdate timezone data to 2016e
Neil Fuller [Wed, 15 Jun 2016 13:55:44 +0000 (14:55 +0100)]
Update timezone data to 2016e

  Changes affecting future time stamps

    Africa/Cairo observes DST in 2016 from July 7 to the end of October.
    Guess October 27 and 24:00 transitions. (Thanks to Steffen Thorsen.)
    For future years, guess April's last Thursday to October's last
    Thursday except for Ramadan.

  Changes affecting past time stamps

    Locations while uninhabited now use '-00', not 'zzz', as a
    placeholder time zone abbreviation.  This is inspired by Internet
    RFC 3339 and is more consistent with numeric time zone
    abbreviations already used elsewhere.  The change affects several
    arctic and antarctic locations, e.g., America/Cambridge_Bay before
    1920 and Antarctica/Troll before 2005.

    Asia/Baku's 1992-09-27 transition from +04 (DST) to +04 (non-DST) was
    at 03:00, not 23:00 the previous day.  (Thanks to Michael Deckers.)

Bug: 29354265
Change-Id: Iad332b686410c54277fe8efc83b38a1b5e90aeb2

8 years agoMerge \\\"Don\\\'t expose all BSD extensions.\\\" am: 112be469bb am: 8d9b692c4f
Elliott Hughes [Tue, 14 Jun 2016 00:20:25 +0000 (00:20 +0000)]
Merge \\\"Don\\\'t expose all BSD extensions.\\\" am: 112be469bb am: 8d9b692c4f
am: 68ea651461

Change-Id: I55991f6608dd34f36d9672e9ea6d558715a9919a

8 years agoMerge \\"Don\\'t expose all BSD extensions.\\" am: 112be469bb
Elliott Hughes [Tue, 14 Jun 2016 00:15:36 +0000 (00:15 +0000)]
Merge \\"Don\\'t expose all BSD extensions.\\" am: 112be469bb
am: 8d9b692c4f

Change-Id: If6eedc1078aa2f760147a48382d22ad01feaa80b

8 years agoMerge \"Don\'t expose all BSD extensions.\"
Elliott Hughes [Tue, 14 Jun 2016 00:11:21 +0000 (00:11 +0000)]
Merge \"Don\'t expose all BSD extensions.\"
am: 112be469bb

Change-Id: If1ca42d249c1163a92e85c0a35e48bf8e796c976

8 years agoMerge "Don't expose all BSD extensions."
Treehugger Robot [Mon, 13 Jun 2016 23:55:22 +0000 (23:55 +0000)]
Merge "Don't expose all BSD extensions."

8 years agoDon't expose all BSD extensions.
Elliott Hughes [Mon, 13 Jun 2016 20:23:42 +0000 (13:23 -0700)]
Don't expose all BSD extensions.

Just expose the ones that bionic historically leaked.

Also, many of the M_* constants in <math.h> are actually POSIX.

Change-Id: I6275df84c5866b872b71f1c8ed14e2aada12b793

8 years agoMerge "Update timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8 -s ours am: d9523...
Android Build Merger (Role) [Mon, 13 Jun 2016 09:35:16 +0000 (09:35 +0000)]
Merge "Update timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8  -s ours am: d9523aac7c am: 5bdac2156c am: a2e0e12696" into nyc-mr1-dev-plus-aosp

8 years agoUpdate timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8 -s ours am: d9523aac7c...
Neil Fuller [Mon, 13 Jun 2016 09:35:05 +0000 (09:35 +0000)]
Update timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8  -s ours am: d9523aac7c am: 5bdac2156c
am: 32982bf4bd

Change-Id: I375566ea9abd523114eb7b568da6056ac1c4009e

8 years agoUpdate timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8 -s ours am: d9523aac7c...
Neil Fuller [Mon, 13 Jun 2016 09:35:05 +0000 (09:35 +0000)]
Update timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8  -s ours am: d9523aac7c am: 5bdac2156c
am: a2e0e12696

Change-Id: I5dad6ffbac1788581b578bb9d878e06c369761f3

8 years agoUpdate timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8 -s ours am: d9523aac7c
Neil Fuller [Mon, 13 Jun 2016 09:31:13 +0000 (09:31 +0000)]
Update timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8  -s ours am: d9523aac7c
am: 5bdac2156c

Change-Id: I9ff179a335cc726af1a4541ba85553a8a7e18527

8 years agoUpdate timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8 -s ours am: d9523aac7c
Neil Fuller [Mon, 13 Jun 2016 09:31:12 +0000 (09:31 +0000)]
Update timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8  -s ours am: d9523aac7c
am: 5bdac2156c

Change-Id: I5b508e09b60d17f812f7b85569486dca0c5549ba

8 years agoUpdate timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8 -s ours
Neil Fuller [Mon, 13 Jun 2016 09:27:23 +0000 (09:27 +0000)]
Update timezone data to 2016d am: 2880a020e3 am: 9958dc9fe8  -s ours
am: d9523aac7c

Change-Id: I191ed4f9c1088a44e9130683236cba8e7947e132

8 years agoUpdate timezone data to 2016d am: 2880a020e3
Neil Fuller [Mon, 13 Jun 2016 09:23:04 +0000 (09:23 +0000)]
Update timezone data to 2016d am: 2880a020e3
am: 9958dc9fe8  -s ours

Change-Id: I1cbbea60adebecefa5aa2d80e75e41d9fe4ec4dc

8 years agoUpdate timezone data to 2016d
Neil Fuller [Mon, 13 Jun 2016 09:04:01 +0000 (09:04 +0000)]
Update timezone data to 2016d
am: 2880a020e3

Change-Id: I38ef0c08d2c63a3510b9c80442f85c1f14bf06d0

8 years agoMerge \\\"Update symbol versions.\\\" am: c713adeca1 am: acd0d2f612
Josh Gao [Mon, 13 Jun 2016 08:11:52 +0000 (08:11 +0000)]
Merge \\\"Update symbol versions.\\\" am: c713adeca1 am: acd0d2f612
am: b1b036f845

Change-Id: I122624254620401f3959a25849e105bd2824c488

8 years agoMerge \\"Update symbol versions.\\" am: c713adeca1
Josh Gao [Mon, 13 Jun 2016 08:07:51 +0000 (08:07 +0000)]
Merge \\"Update symbol versions.\\" am: c713adeca1
am: acd0d2f612

Change-Id: I671c3eb7aab7494ae67bb82ef49d15c61e0916b8

8 years agoMerge \"Update symbol versions.\"
Josh Gao [Mon, 13 Jun 2016 08:03:55 +0000 (08:03 +0000)]
Merge \"Update symbol versions.\"
am: c713adeca1

Change-Id: I4c35423343e5831f8f822456daa6ed7359d47ec8

8 years agoMerge "Update symbol versions."
Treehugger Robot [Mon, 13 Jun 2016 07:55:08 +0000 (07:55 +0000)]
Merge "Update symbol versions."

8 years agoUpdate symbol versions.
Josh Gao [Fri, 10 Jun 2016 23:33:05 +0000 (16:33 -0700)]
Update symbol versions.

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

8 years agoMerge \\\"Rationalize visibility.\\\" am: 2ed5852759 am: a82358224f
Elliott Hughes [Fri, 10 Jun 2016 20:51:38 +0000 (20:51 +0000)]
Merge \\\"Rationalize visibility.\\\" am: 2ed5852759 am: a82358224f
am: 548453f52e

Change-Id: I9440d99556b9b5ff113e5036f755a358052acb49

8 years agoMerge \\"Rationalize visibility.\\" am: 2ed5852759
Elliott Hughes [Fri, 10 Jun 2016 20:50:51 +0000 (20:50 +0000)]
Merge \\"Rationalize visibility.\\" am: 2ed5852759
am: a82358224f

Change-Id: I5154c5fe8e7d5745dd4bfe07a217f47ae8e4a7c4

8 years agoMerge \\\"Remove obsolete GCC workaround.\\\" am: 5e02bde75d am: 9050d35b5b
Elliott Hughes [Fri, 10 Jun 2016 20:45:03 +0000 (20:45 +0000)]
Merge \\\"Remove obsolete GCC workaround.\\\" am: 5e02bde75d am: 9050d35b5b
am: 0766784b71

Change-Id: Ia17222c1b55f2e37cafa6a14f01732c5d3215af2

8 years agoMerge \"Rationalize visibility.\"
Elliott Hughes [Fri, 10 Jun 2016 20:45:02 +0000 (20:45 +0000)]
Merge \"Rationalize visibility.\"
am: 2ed5852759

Change-Id: I98c8affae3e21aa1be4dc31f47a0a7ed500ebb70

8 years agoMerge "Rationalize visibility."
Treehugger Robot [Fri, 10 Jun 2016 20:41:16 +0000 (20:41 +0000)]
Merge "Rationalize visibility."

8 years agoMerge \\"Remove obsolete GCC workaround.\\" am: 5e02bde75d
Elliott Hughes [Fri, 10 Jun 2016 20:40:59 +0000 (20:40 +0000)]
Merge \\"Remove obsolete GCC workaround.\\" am: 5e02bde75d
am: 9050d35b5b

Change-Id: I9bd8134531594aebeb5a704398ae3b1ec30939c7

8 years agoMerge \"Remove obsolete GCC workaround.\"
Elliott Hughes [Fri, 10 Jun 2016 20:37:21 +0000 (20:37 +0000)]
Merge \"Remove obsolete GCC workaround.\"
am: 5e02bde75d

Change-Id: Ie14aeef2fc96dd38fe9d6ef817c18fc83d2463c2

8 years agoMerge "Remove obsolete GCC workaround."
Treehugger Robot [Fri, 10 Jun 2016 20:29:37 +0000 (20:29 +0000)]
Merge "Remove obsolete GCC workaround."

8 years agoRemove obsolete GCC workaround.
Elliott Hughes [Fri, 10 Jun 2016 19:49:04 +0000 (12:49 -0700)]
Remove obsolete GCC workaround.

bionic is no longer built with GCC.

Change-Id: If01c53d8f6ec7e801bfcdc61775cc24356eb8434

8 years agoUpdate timezone data to 2016d
Neil Fuller [Fri, 10 Jun 2016 12:07:43 +0000 (13:07 +0100)]
Update timezone data to 2016d

This change is effectively a cherry-pick of aosp/master commit:
60200a74113bf2da23072523b52aa15490d0b07e

Changes affecting future time stamps

    America/Caracas switches from -0430 to -04 on 2016-05-01 at 02:30.
    (Thanks to Alexander Krivenyshev for the heads-up.)

    Asia/Magadan switches from +10 to +11 on 2016-04-24 at 02:00.
    (Thanks to Alexander Krivenyshev and Matt Johnson.)

    New zone Asia/Tomsk, split off from Asia/Novosibirsk. It covers
    Tomsk Oblast, Russia, which switches from +06 to +07 on 2016-05-29
    at 02:00.  (Thanks to Stepan Golosunov.)

  Changes affecting past time stamps

    New zone Europe/Kirov, split off from Europe/Volgograd.  It covers
    Kirov Oblast, Russia, which switched from +04/+05 to +03/+04 on
    1989-03-26 at 02:00, roughly a year after Europe/Volgograd made
    the same change.  (Thanks to Stepan Golosunov.)

    Russia and nearby locations had daylight-saving transitions on
    1992-03-29 at 02:00 and 1992-09-27 at 03:00, instead of on
    1992-03-28 at 23:00 and 1992-09-26 at 23:00.  (Thanks to Stepan
    Golosunov.)

    Many corrections to historical time in Kazakhstan from 1991
    through 2005.  (Thanks to Stepan Golosunov.)  Replace Kazakhstan's
    invented time zone abbreviations with numeric abbreviations.

Bug: 29240433
Change-Id: I1a5491f01e0aae8b571c1ed1fddc1995086b6812

8 years agoMerge \\\"Fix the SIZE_T_MAX SSIZE_MAX defines.\\\" am: 93bae32c27 am: ed392f649f
Christopher Ferris [Fri, 10 Jun 2016 00:53:02 +0000 (00:53 +0000)]
Merge \\\"Fix the SIZE_T_MAX SSIZE_MAX defines.\\\" am: 93bae32c27 am: ed392f649f
am: ddb6314c7d

Change-Id: Ie0c6bb5cabc3065a52cde130433fcdb413f79e20

8 years agoMerge \\"Fix the SIZE_T_MAX SSIZE_MAX defines.\\" am: 93bae32c27
Christopher Ferris [Fri, 10 Jun 2016 00:50:26 +0000 (00:50 +0000)]
Merge \\"Fix the SIZE_T_MAX SSIZE_MAX defines.\\" am: 93bae32c27
am: ed392f649f

Change-Id: I09d699b124a6372928434b048224ebf1dfe4db38

8 years agoMerge \"Fix the SIZE_T_MAX SSIZE_MAX defines.\"
Christopher Ferris [Fri, 10 Jun 2016 00:47:51 +0000 (00:47 +0000)]
Merge \"Fix the SIZE_T_MAX SSIZE_MAX defines.\"
am: 93bae32c27

Change-Id: I6ed198a90dfe58a6c8b379548e8f9522226ed86b

8 years agoRationalize visibility.
Elliott Hughes [Thu, 9 Jun 2016 01:11:23 +0000 (18:11 -0700)]
Rationalize visibility.

If it's C or POSIX, it's in. If it's BSD or GNU, it's guarded by __USE_BSD
or __USE_GNU.

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

8 years agoMerge "Fix the SIZE_T_MAX SSIZE_MAX defines."
Treehugger Robot [Fri, 10 Jun 2016 00:35:37 +0000 (00:35 +0000)]
Merge "Fix the SIZE_T_MAX SSIZE_MAX defines."

8 years agoFix the SIZE_T_MAX SSIZE_MAX defines.
Christopher Ferris [Thu, 9 Jun 2016 23:32:54 +0000 (16:32 -0700)]
Fix the SIZE_T_MAX SSIZE_MAX defines.

This should not affect the underlying values, just the types used
by the defines.

This fixes any warnings where code does something like:

  printf("%zx", SIZE_T_MAX);

Change-Id: I4beb6d382f30261e4fe133a88fb503984911326d

8 years agoMerge \\\"Add ctermid.\\\" am: f3c39b26b5 am: 8d4f7acfe9
Elliott Hughes [Thu, 9 Jun 2016 23:35:02 +0000 (23:35 +0000)]
Merge \\\"Add ctermid.\\\" am: f3c39b26b5 am: 8d4f7acfe9
am: bc3a6a9573

Change-Id: I1d0f399d3fd47af161c6188a0621af7fd5400c62

8 years agoMerge \\"Add ctermid.\\" am: f3c39b26b5
Elliott Hughes [Thu, 9 Jun 2016 23:31:47 +0000 (23:31 +0000)]
Merge \\"Add ctermid.\\" am: f3c39b26b5
am: 8d4f7acfe9

Change-Id: I13abb53b3e759f69721ecc6b33cffdb61011e597

8 years agoMerge \"Add ctermid.\"
Elliott Hughes [Thu, 9 Jun 2016 23:29:11 +0000 (23:29 +0000)]
Merge \"Add ctermid.\"
am: f3c39b26b5

Change-Id: Id6c4549a355d1d6db374be2962c1c9f988e6bc74

8 years agoMerge "Add ctermid."
Treehugger Robot [Thu, 9 Jun 2016 23:21:22 +0000 (23:21 +0000)]
Merge "Add ctermid."

8 years agoMerge \\\"Clean up obsolete libm makefile cruft.\\\" am: 4bc95c0f30 am: 1c8211a79c
Elliott Hughes [Thu, 9 Jun 2016 23:09:28 +0000 (23:09 +0000)]
Merge \\\"Clean up obsolete libm makefile cruft.\\\" am: 4bc95c0f30 am: 1c8211a79c
am: 977a4467eb

Change-Id: Ia09633966eca47df8d085b0b87e6163ff3106991

8 years agoMerge \\"Clean up obsolete libm makefile cruft.\\" am: 4bc95c0f30
Elliott Hughes [Thu, 9 Jun 2016 23:06:52 +0000 (23:06 +0000)]
Merge \\"Clean up obsolete libm makefile cruft.\\" am: 4bc95c0f30
am: 1c8211a79c

Change-Id: I5fe4c338d77078f2d98ac238cef31f16d0ff9f42

8 years agoMerge \"Clean up obsolete libm makefile cruft.\"
Elliott Hughes [Thu, 9 Jun 2016 23:04:01 +0000 (23:04 +0000)]
Merge \"Clean up obsolete libm makefile cruft.\"
am: 4bc95c0f30

Change-Id: Ia30be9e28ff2b6799b95a35e82629da814e8efa8

8 years agoMerge "Clean up obsolete libm makefile cruft."
Treehugger Robot [Thu, 9 Jun 2016 22:56:18 +0000 (22:56 +0000)]
Merge "Clean up obsolete libm makefile cruft."

8 years agoAdd ctermid.
Elliott Hughes [Thu, 9 Jun 2016 22:16:32 +0000 (15:16 -0700)]
Add ctermid.

Change-Id: I7c7c815c2725df222932db923632c8b6419741ab

8 years agoClean up obsolete libm makefile cruft.
Elliott Hughes [Thu, 9 Jun 2016 22:04:27 +0000 (15:04 -0700)]
Clean up obsolete libm makefile cruft.

Change-Id: I52a80c182546168bc31ccc04d8bf815350dba28c

8 years agoMerge \\\"Add futimes, futimesat, and lutimes.\\\" am: 70d99a1053 am: fe25bf8fe5
Elliott Hughes [Thu, 9 Jun 2016 17:55:40 +0000 (17:55 +0000)]
Merge \\\"Add futimes, futimesat, and lutimes.\\\" am: 70d99a1053 am: fe25bf8fe5
am: a5e7a624b6

Change-Id: I386d105874d9504253e61108f2a782c98d773624

8 years agoMerge \\"Add futimes, futimesat, and lutimes.\\" am: 70d99a1053
Elliott Hughes [Thu, 9 Jun 2016 17:50:23 +0000 (17:50 +0000)]
Merge \\"Add futimes, futimesat, and lutimes.\\" am: 70d99a1053
am: fe25bf8fe5

Change-Id: I5f1e4ddcc7e9448629f520e69e5957ce3551be13

8 years agoMerge \"Add futimes, futimesat, and lutimes.\"
Elliott Hughes [Thu, 9 Jun 2016 17:44:59 +0000 (17:44 +0000)]
Merge \"Add futimes, futimesat, and lutimes.\"
am: 70d99a1053

Change-Id: I6714f4c3ef0a59d4e3bf51562ffe4a7ccd8c2018

8 years agoMerge "Add futimes, futimesat, and lutimes."
Elliott Hughes [Thu, 9 Jun 2016 17:34:41 +0000 (17:34 +0000)]
Merge "Add futimes, futimesat, and lutimes."

8 years agoAdd futimes, futimesat, and lutimes.
Elliott Hughes [Thu, 9 Jun 2016 02:51:20 +0000 (19:51 -0700)]
Add futimes, futimesat, and lutimes.

Spotted these while cleaning up <sys/cdefs.h> --- if we remove __USE_XOPEN2K8,
libchrome decides you "must" have futimes. Adding the missing functions (all
just alternative interfaces to utimensat(2) system call) lets us clean up
without breaking anything.

Change-Id: If44fab08ee3de0e31066d650d128a3c96323529b

8 years agoMerge \\\"Move /vendor/bin down with /vendor/xbin.\\\" am: cf4c3649ad am: 98c495ed6a
Elliott Hughes [Wed, 8 Jun 2016 20:01:24 +0000 (20:01 +0000)]
Merge \\\"Move /vendor/bin down with /vendor/xbin.\\\" am: cf4c3649ad am: 98c495ed6a
am: ab75e6b380

Change-Id: Ic1f7e681301877d6073c8ca3e8dc1bf2046c3efe

8 years agoMerge \\"Move /vendor/bin down with /vendor/xbin.\\" am: cf4c3649ad
Elliott Hughes [Wed, 8 Jun 2016 19:58:59 +0000 (19:58 +0000)]
Merge \\"Move /vendor/bin down with /vendor/xbin.\\" am: cf4c3649ad
am: 98c495ed6a

Change-Id: Ia17103fde70d455b048b1f4e3be43a08f8480eaf

8 years agoMerge \\\"More C compatibility.\\\" am: 34985b60c1 am: be5dbd8bb8
Elliott Hughes [Wed, 8 Jun 2016 19:58:59 +0000 (19:58 +0000)]
Merge \\\"More C compatibility.\\\" am: 34985b60c1 am: be5dbd8bb8
am: 900bd02b65

Change-Id: I77652fb063eebd12926f2f626e0a6876254a8bd9

8 years agoMerge \"Move /vendor/bin down with /vendor/xbin.\"
Elliott Hughes [Wed, 8 Jun 2016 19:56:29 +0000 (19:56 +0000)]
Merge \"Move /vendor/bin down with /vendor/xbin.\"
am: cf4c3649ad

Change-Id: Ia03673777560d01ce6c3498c99f7b972b25e4d64

8 years agoMerge \\"More C compatibility.\\" am: 34985b60c1
Elliott Hughes [Wed, 8 Jun 2016 19:56:28 +0000 (19:56 +0000)]
Merge \\"More C compatibility.\\" am: 34985b60c1
am: be5dbd8bb8

Change-Id: If07051357cf971774145180bf5a187b610d423d7

8 years agoMerge \"More C compatibility.\"
Elliott Hughes [Wed, 8 Jun 2016 19:54:05 +0000 (19:54 +0000)]
Merge \"More C compatibility.\"
am: 34985b60c1

Change-Id: If3a8ef52c4c23c875561f7592b4193f4f918c4cf

8 years agoMerge "Move /vendor/bin down with /vendor/xbin."
Elliott Hughes [Wed, 8 Jun 2016 19:53:21 +0000 (19:53 +0000)]
Merge "Move /vendor/bin down with /vendor/xbin."

8 years agoMerge "More C compatibility."
Treehugger Robot [Wed, 8 Jun 2016 19:44:29 +0000 (19:44 +0000)]
Merge "More C compatibility."

8 years agoMore C compatibility.
Elliott Hughes [Wed, 8 Jun 2016 17:52:15 +0000 (10:52 -0700)]
More C compatibility.

Add C11 static_assert to <assert.h>. Remove uses of __dead while we're there:
__noreturn already does the same thing on those functions.

Fix <uchar.h> so it works from C.

<stdalign.h> and <stdnoreturn.h> are provided by clang, so there's nothing
for us to do.

Bug: http://b/29178582
Change-Id: Iebc46223868729a26d1a61eb125b76cbcb83a22d

8 years agoMove /vendor/bin down with /vendor/xbin.
Elliott Hughes [Wed, 8 Jun 2016 17:17:26 +0000 (10:17 -0700)]
Move /vendor/bin down with /vendor/xbin.

The intention is that /vendor/*bin _extends_ rather than overrides.

Change-Id: Iad7db78f653345d79aa6f87abe0a3c2a797f71a3

8 years agoMerge \\\"Add /vendor/xbin to root\\\'s path.\\\" am: 74669e99ce am: a258d220b1
Erik Kline [Wed, 8 Jun 2016 01:30:47 +0000 (01:30 +0000)]
Merge \\\"Add /vendor/xbin to root\\\'s path.\\\" am: 74669e99ce am: a258d220b1
am: 2d1209dfa1

Change-Id: I0e8903ee99168b903228c5fea9fd29fc41212ead

8 years agoMerge \\"Add /vendor/xbin to root\\'s path.\\" am: 74669e99ce
Erik Kline [Wed, 8 Jun 2016 01:24:58 +0000 (01:24 +0000)]
Merge \\"Add /vendor/xbin to root\\'s path.\\" am: 74669e99ce
am: a258d220b1

Change-Id: If00b5c21d8a68fa89d0e707ac60434a7054a6fa2

8 years agoMerge \"Add /vendor/xbin to root\'s path.\"
Erik Kline [Wed, 8 Jun 2016 01:22:22 +0000 (01:22 +0000)]
Merge \"Add /vendor/xbin to root\'s path.\"
am: 74669e99ce

Change-Id: Ia5bccd411cf19351b26b1ccbb78fc65443b0d33d

8 years agoMerge "Add /vendor/xbin to root's path."
Treehugger Robot [Wed, 8 Jun 2016 01:06:48 +0000 (01:06 +0000)]
Merge "Add /vendor/xbin to root's path."

8 years agoMerge "Preliminary cleanup of <sys/cdefs.h>." am: 30ad0dd6ad am: 2278f77e18
Elliott Hughes [Tue, 7 Jun 2016 20:30:09 +0000 (20:30 +0000)]
Merge "Preliminary cleanup of <sys/cdefs.h>." am: 30ad0dd6ad am: 2278f77e18
am: f17dd0c005

* commit 'f17dd0c005c64fad3acdd9863b5315ee8ebd23f1':
  Preliminary cleanup of <sys/cdefs.h>.

Change-Id: I5605be3882f4fe50fd339b7552ee10a7b01fa074

8 years agoMerge "Preliminary cleanup of <sys/cdefs.h>." am: 30ad0dd6ad
Elliott Hughes [Tue, 7 Jun 2016 20:27:35 +0000 (20:27 +0000)]
Merge "Preliminary cleanup of <sys/cdefs.h>." am: 30ad0dd6ad
am: 2278f77e18

* commit '2278f77e185c15f703c5513ae9ce6962d487f693':
  Preliminary cleanup of <sys/cdefs.h>.

Change-Id: I52dacdc75b3b172c83a3c9897bbc3af0fb9a2298

8 years agoMerge "Preliminary cleanup of <sys/cdefs.h>."
Elliott Hughes [Tue, 7 Jun 2016 20:25:11 +0000 (20:25 +0000)]
Merge "Preliminary cleanup of <sys/cdefs.h>."
am: 30ad0dd6ad

* commit '30ad0dd6ad90131cdcc71b8b9c33a17598a25671':
  Preliminary cleanup of <sys/cdefs.h>.

Change-Id: Ibfa1773b59ad937b663886df849c0a06476ce454

8 years agoMerge "Preliminary cleanup of <sys/cdefs.h>."
Elliott Hughes [Tue, 7 Jun 2016 20:16:26 +0000 (20:16 +0000)]
Merge "Preliminary cleanup of <sys/cdefs.h>."

8 years agoPreliminary cleanup of <sys/cdefs.h>.
Elliott Hughes [Tue, 7 Jun 2016 00:35:53 +0000 (17:35 -0700)]
Preliminary cleanup of <sys/cdefs.h>.

We don't support anything other than Clang and GCC, and we don't support
GCC earlier than 4.9.

Move the various synonyms for __attribute__(__whatever__) together.

Fix a __STDC__VERSION__ (for __STDC_VERSION__) typo.

Drop support for BSD _ANSI_SOURCE and _C99_SOURCE; there's enough confusing
nonsense here already, and plenty of other ways to ask for obsolete standards.

There are plenty more problems here -- what I really want to do is rationalize
our treatment of __STDC_VERSION__ -- but let's get some of this easy stuff
out of the way first.

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

8 years agoMerge "Fix infinite loop if semaphore test is not run." am: d80d42740d am: d969bb9603
Christopher Ferris [Mon, 6 Jun 2016 22:41:21 +0000 (22:41 +0000)]
Merge "Fix infinite loop if semaphore test is not run." am: d80d42740d am: d969bb9603
am: 443957cd39

* commit '443957cd39202c6aae199c251f18793adb5a96af':
  Fix infinite loop if semaphore test is not run.

Change-Id: I3e49b4c033ad5464ad2a3a6995e2248ff95b9d31

8 years agoMerge "Fix infinite loop if semaphore test is not run." am: d80d42740d
Christopher Ferris [Mon, 6 Jun 2016 22:39:50 +0000 (22:39 +0000)]
Merge "Fix infinite loop if semaphore test is not run." am: d80d42740d
am: d969bb9603

* commit 'd969bb9603fd70edfb801a0433d1538bfa078222':
  Fix infinite loop if semaphore test is not run.

Change-Id: Ifd58caa81fe23f0d1d8c143962adc041555771e6

8 years agoMerge "Fix infinite loop if semaphore test is not run."
Christopher Ferris [Mon, 6 Jun 2016 22:36:21 +0000 (22:36 +0000)]
Merge "Fix infinite loop if semaphore test is not run."
am: d80d42740d

* commit 'd80d42740d9d2ad532c8445fd4835186c252e6e6':
  Fix infinite loop if semaphore test is not run.

Change-Id: If34ff256848d37a1768b726473f9a0550d444d9a

8 years agoMerge "Fix infinite loop if semaphore test is not run."
Treehugger Robot [Mon, 6 Jun 2016 22:26:55 +0000 (22:26 +0000)]
Merge "Fix infinite loop if semaphore test is not run."

8 years agoFix infinite loop if semaphore test is not run.
Christopher Ferris [Mon, 6 Jun 2016 21:13:17 +0000 (14:13 -0700)]
Fix infinite loop if semaphore test is not run.

When using the --benchmark_filter option, all of the test objects
get created, but not all are run. Previously, if this test didn't run
it would get into an infinite loop waiting for the test to complete.
This change only waits for the test to complete if it was actually
executed.

Change-Id: I5151a0b4b3d5349b978e716ec4a02ebd8b4eae00

8 years agoMerge "Just use libstdc++ for the cxa stuff inside bionic." am: 901cc14822 am: c1a361a313
Elliott Hughes [Mon, 6 Jun 2016 18:20:52 +0000 (18:20 +0000)]
Merge "Just use libstdc++ for the cxa stuff inside bionic." am: 901cc14822 am: c1a361a313
am: 240e8f82c1

* commit '240e8f82c1dcbdcc88a3b4b411b8c59cc3e917c6':
  Just use libstdc++ for the cxa stuff inside bionic.

Change-Id: I1fc9b362bab7564475344d72e8570d9bea17d32c

8 years agoMerge "Just use libstdc++ for the cxa stuff inside bionic." am: 901cc14822
Elliott Hughes [Mon, 6 Jun 2016 18:18:08 +0000 (18:18 +0000)]
Merge "Just use libstdc++ for the cxa stuff inside bionic." am: 901cc14822
am: c1a361a313

* commit 'c1a361a31350777bce06c0f409c74aaf237748fe':
  Just use libstdc++ for the cxa stuff inside bionic.

Change-Id: Id5ab9ada875ed995a4616bc8b5f580017c1bd18a

8 years agoMerge "Just use libstdc++ for the cxa stuff inside bionic."
Elliott Hughes [Mon, 6 Jun 2016 18:11:06 +0000 (18:11 +0000)]
Merge "Just use libstdc++ for the cxa stuff inside bionic."
am: 901cc14822

* commit '901cc14822e431185fbe5075ef4f06aa4fba58cf':
  Just use libstdc++ for the cxa stuff inside bionic.

Change-Id: I5d256203ebd63f380b572559cbe2d898f5ad3c55

8 years agoMerge "Just use libstdc++ for the cxa stuff inside bionic."
Treehugger Robot [Mon, 6 Jun 2016 18:04:54 +0000 (18:04 +0000)]
Merge "Just use libstdc++ for the cxa stuff inside bionic."

8 years agoMerge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ... am: c5799dd13c...
Josh Gao [Sat, 4 Jun 2016 06:17:48 +0000 (06:17 +0000)]
Merge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ... am: c5799dd13c am: 56a81c096d
am: 285f38d474

* commit '285f38d4742918e8e3df71ac81ebb361ee5b4105':
  versioner: whitelist atexit, turn on symbol checking by default.
  versioner: add missing test.
  versioner: fix false positive with functions only available as inlines.
  versioner: improve error output slightly.
  versioner: merge stdout and stderr in the test runner.
  versioner: clean up tests, test runner.
  versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
  versioner: autodetect paths when no specified.
  versioner: improve usage messages.
  Remove __cachectl.

Change-Id: I9d8287840674868107fa25ba14a73fdb28cddbdf

8 years agoMerge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ... am: c5799dd13c
Josh Gao [Sat, 4 Jun 2016 06:15:57 +0000 (06:15 +0000)]
Merge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ... am: c5799dd13c
am: 56a81c096d

* commit '56a81c096d85dd4245ebe4be13764cb825ee7cf4':
  versioner: whitelist atexit, turn on symbol checking by default.
  versioner: add missing test.
  versioner: fix false positive with functions only available as inlines.
  versioner: improve error output slightly.
  versioner: merge stdout and stderr in the test runner.
  versioner: clean up tests, test runner.
  versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
  versioner: autodetect paths when no specified.
  versioner: improve usage messages.
  Remove __cachectl.

Change-Id: Iab0de231472e06fe5146618c3c6b5be3dc9c203b

8 years agoMerge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ...
Josh Gao [Sat, 4 Jun 2016 06:12:32 +0000 (06:12 +0000)]
Merge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ...
am: c5799dd13c

* commit 'c5799dd13c58aae84cffd5e4b4a379556634bd71':
  versioner: whitelist atexit, turn on symbol checking by default.
  versioner: add missing test.
  versioner: fix false positive with functions only available as inlines.
  versioner: improve error output slightly.
  versioner: merge stdout and stderr in the test runner.
  versioner: clean up tests, test runner.
  versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
  versioner: autodetect paths when no specified.
  versioner: improve usage messages.
  Remove __cachectl.

Change-Id: I8d24a4ac071ee29004a022546d1225794b6f2940

8 years agoMerge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ...
Josh Gao [Sat, 4 Jun 2016 06:06:02 +0000 (06:06 +0000)]
Merge changes I32e726c7,I1dc9a708,I09cc335b,Ifb8a66ab,I0e2c25bc, ...

* changes:
  versioner: whitelist atexit, turn on symbol checking by default.
  versioner: add missing test.
  versioner: fix false positive with functions only available as inlines.
  versioner: improve error output slightly.
  versioner: merge stdout and stderr in the test runner.
  versioner: clean up tests, test runner.
  versioner: ignore functions that are __INTRODUCED_IN_FUTURE.
  versioner: autodetect paths when no specified.
  versioner: improve usage messages.
  Remove __cachectl.

8 years agoversioner: whitelist atexit, turn on symbol checking by default.
Josh Gao [Fri, 3 Jun 2016 20:54:28 +0000 (13:54 -0700)]
versioner: whitelist atexit, turn on symbol checking by default.

Change-Id: I32e726c74ee618ace3a4329d46408a42732a8d9d

8 years agoversioner: add missing test.
Josh Gao [Fri, 3 Jun 2016 20:46:06 +0000 (13:46 -0700)]
versioner: add missing test.

Change-Id: I1dc9a708b53dbb46af9e4b8ab69bf8ed46ab045f

8 years agoversioner: fix false positive with functions only available as inlines.
Josh Gao [Fri, 3 Jun 2016 20:44:00 +0000 (13:44 -0700)]
versioner: fix false positive with functions only available as inlines.

Change-Id: I09cc335b4006c6ceafcbd1bec9e50161f8262942

8 years agoversioner: improve error output slightly.
Josh Gao [Fri, 3 Jun 2016 20:38:00 +0000 (13:38 -0700)]
versioner: improve error output slightly.

Print [introduced = 9, deprecated = 10, obsoleted = 11] instead of
[9,10,11].

Change-Id: Ifb8a66abbcec92aa13086d220af7ee6fa17b0897

8 years agoversioner: merge stdout and stderr in the test runner.
Josh Gao [Thu, 2 Jun 2016 22:59:44 +0000 (15:59 -0700)]
versioner: merge stdout and stderr in the test runner.

Some of the error messages emitted by versioner (the ones where it was
invoked incorrectly) go to stderr, which meant that the test runner
ignored them. Merge stdout and stderr, and switch from testing for
exact equality to endswith, because of the compilation errors test.

Change-Id: I0e2c25bcc9dea4c12ea82a6a05b29e561a61a902

8 years agoversioner: clean up tests, test runner.
Josh Gao [Thu, 2 Jun 2016 22:59:32 +0000 (15:59 -0700)]
versioner: clean up tests, test runner.

Git doesn't track empty directories, so most of the tests would fail on
a fresh checkout because of dependencies/common being missing. Remove
the use of dependencies from all of the non-dependency related tests.

Change-Id: I09cc5765aae1576914c1c5d7dfa3fb666eab4a3f

8 years agoversioner: ignore functions that are __INTRODUCED_IN_FUTURE.
Josh Gao [Thu, 2 Jun 2016 22:21:14 +0000 (15:21 -0700)]
versioner: ignore functions that are __INTRODUCED_IN_FUTURE.

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

8 years agoversioner: autodetect paths when no specified.
Josh Gao [Thu, 2 Jun 2016 21:29:13 +0000 (14:29 -0700)]
versioner: autodetect paths when no specified.

Search for the header/dependency/platform directories in a hard-coded
path relative to $ANDROID_BUILD_TOP when they're not specified.

Change-Id: I476385cfc0247e3b2009348ec37c1810a0e9a7f7

8 years agoversioner: improve usage messages.
Josh Gao [Thu, 2 Jun 2016 21:27:21 +0000 (14:27 -0700)]
versioner: improve usage messages.

Don't spew all of usage when called improperly, and add a -h option
that exits cleanly.

Change-Id: I1a4517edce75afe0f9a80bc8d6c81353d6c12e99

8 years agoRemove __cachectl.
Josh Gao [Thu, 2 Jun 2016 23:04:20 +0000 (16:04 -0700)]
Remove __cachectl.

bionic doesn't have an implementation for this function, but neither
does the kernel. cachectl has existed in the kernel as a stub that
returns ENOSYS for over a decade.

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

8 years agoMerge "Fix __errordecl on clang." am: f21ca653b7 am: 8e8f0f26a3
Josh Gao [Fri, 3 Jun 2016 19:50:41 +0000 (19:50 +0000)]
Merge "Fix __errordecl on clang." am: f21ca653b7 am: 8e8f0f26a3
am: c7336988bd

* commit 'c7336988bd79293cb99fcedfe106ca52bde40c43':
  Fix __errordecl on clang.

Change-Id: I89718ad6d87e5e75076907af56c4adb4e42cf50c

8 years agoMerge "Fix __errordecl on clang." am: f21ca653b7
Josh Gao [Fri, 3 Jun 2016 19:41:53 +0000 (19:41 +0000)]
Merge "Fix __errordecl on clang." am: f21ca653b7
am: 8e8f0f26a3

* commit '8e8f0f26a3aec7e8ae7f33a4d97c56328e150703':
  Fix __errordecl on clang.

Change-Id: Icafdc7481f871843f74c66d2271472ca7cb1548b

8 years agoMerge "Fix __errordecl on clang."
Josh Gao [Fri, 3 Jun 2016 19:38:09 +0000 (19:38 +0000)]
Merge "Fix __errordecl on clang."
am: f21ca653b7

* commit 'f21ca653b7407f22b679ebf2877b7d8c5b719167':
  Fix __errordecl on clang.

Change-Id: I194d3865399a891ec3aaaf21213746d7c65a30e3