OSDN Git Service

android-x86/bionic.git
8 years agoUpdate timezone data to 2016d am: 8a35704bea -s ours
Neil Fuller [Wed, 22 Jun 2016 09:00:16 +0000 (09:00 +0000)]
Update timezone data to 2016d am: 8a35704bea  -s ours
am: 140a65866f

Change-Id: I68f2814dc54c1e7c6c4da997bdd5a9185e4b3919

8 years agoUpdate timezone data to 2016d
Neil Fuller [Wed, 22 Jun 2016 08:57:35 +0000 (08:57 +0000)]
Update timezone data to 2016d
am: 8a35704bea  -s ours

Change-Id: I5df7a5c49c79f4a784433a2849f7a01a58f6bf68

8 years agoRevert \\"Update timezone data to 2016b\\" am: 5ed031daa3 -s ours
Neil Fuller [Wed, 22 Jun 2016 08:44:27 +0000 (08:44 +0000)]
Revert \\"Update timezone data to 2016b\\" am: 5ed031daa3  -s ours
am: 371b718a0b

Change-Id: I865635f2b5f0aaa98176db83ba8ae37ae8e676ac

8 years agoRevert \"Update timezone data to 2016b\"
Neil Fuller [Wed, 22 Jun 2016 08:42:07 +0000 (08:42 +0000)]
Revert \"Update timezone data to 2016b\"
am: 5ed031daa3  -s ours

Change-Id: Ic4a684359f4e73f1c0c91cad12c0762b3eac3b8b

8 years agoMerge \\"Fix misc-macro-parentheses warnings in bionic.\\" am: 36ad0207d6
Chih-hung Hsieh [Tue, 21 Jun 2016 18:28:00 +0000 (18:28 +0000)]
Merge \\"Fix misc-macro-parentheses warnings in bionic.\\" am: 36ad0207d6
am: 5e72ffc7d5

Change-Id: I1bba6a11dbfb02e52b4dcde7fc85e86bbc84d79f

8 years agoMerge \"Fix misc-macro-parentheses warnings in bionic.\"
Chih-Hung Hsieh [Tue, 21 Jun 2016 18:25:20 +0000 (18:25 +0000)]
Merge \"Fix misc-macro-parentheses warnings in bionic.\"
am: 36ad0207d6

Change-Id: Id74313f674094f47c876d12e061110838b86fa21

8 years agoMerge "Fix misc-macro-parentheses warnings in bionic."
Chih-hung Hsieh [Tue, 21 Jun 2016 18:15:36 +0000 (18:15 +0000)]
Merge "Fix misc-macro-parentheses warnings in bionic."

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
Bug: 29528355
(cherry picked from commit 2880a020e3859c5febde03be4921e2fbb37f06bf)

Change-Id: I4353a9689e0a21c459259eb5d488ed177acca848

8 years agoRevert "Update timezone data to 2016b"
Neil Fuller [Tue, 21 Jun 2016 10:43:14 +0000 (11:43 +0100)]
Revert "Update timezone data to 2016b"

This reverts commit 7bcee86edcc8cb0f969c719fed9bc3bd04de142f.

This is in preparation for applying the 2016a -> 2016d update
to mnc-dr1.5-dev (commit 2880a020e3859c5febde03be4921e2fbb37f06bf)
which cannot currently be applied because the 2016b update is
present in mnc-dr1.5-dev.

Bug: 29528355

8 years agoMerge \\"Lose debuggerd client code to libdebuggerd_client.\\" am: 801dfc03cb
Josh Gao [Mon, 20 Jun 2016 20:49:40 +0000 (20:49 +0000)]
Merge \\"Lose debuggerd client code to libdebuggerd_client.\\" am: 801dfc03cb
am: a98e118a0c

Change-Id: Ia009551c319957da01294f55875d78a682eac3ee

8 years agoMerge \"Lose debuggerd client code to libdebuggerd_client.\"
Josh Gao [Mon, 20 Jun 2016 20:47:15 +0000 (20:47 +0000)]
Merge \"Lose debuggerd client code to libdebuggerd_client.\"
am: 801dfc03cb

Change-Id: Ifc117832bc7237ff75ddee156954149c77bacc43

8 years agoMerge "Lose debuggerd client code to libdebuggerd_client."
Treehugger Robot [Mon, 20 Jun 2016 20:22:18 +0000 (20:22 +0000)]
Merge "Lose debuggerd client code to libdebuggerd_client."

8 years agoMerge \\"Make missing public soname error message clear.\\" am: 835bd47cc4
Christopher Ferris [Mon, 20 Jun 2016 19:43:41 +0000 (19:43 +0000)]
Merge \\"Make missing public soname error message clear.\\" am: 835bd47cc4
am: f3dd3bc5c4

Change-Id: Iee200c9317effdf898b95e4d7616dae453fd47b4

8 years agoMerge \"Make missing public soname error message clear.\"
Christopher Ferris [Mon, 20 Jun 2016 19:41:17 +0000 (19:41 +0000)]
Merge \"Make missing public soname error message clear.\"
am: 835bd47cc4

Change-Id: Ib9bbeabf2367a9779df8c788e570b5d9978c7a8f

8 years agoMerge "Make missing public soname error message clear."
Treehugger Robot [Mon, 20 Jun 2016 19:33:23 +0000 (19:33 +0000)]
Merge "Make missing public soname error message clear."

8 years agoMake missing public soname error message clear.
Christopher Ferris [Fri, 17 Jun 2016 20:46:36 +0000 (13:46 -0700)]
Make missing public soname error message clear.

If a public library is missing, make it clear that there is no
library with that soname that is missing. This can help diagnose
problems if a library exists, but the library doesn't have the right
soname.

Bug: 29400363
(cherry picked from commit 9a84d90c753dd934c3086322f6ba6b7a1f580c8c)

Change-Id: Ie2306a2e28aff779d07441dc8af078256b184f8a

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 agoLose debuggerd client code to libdebuggerd_client.
Josh Gao [Thu, 16 Jun 2016 01:33:26 +0000 (18:33 -0700)]
Lose debuggerd client code to libdebuggerd_client.

Bug: http://b/24414818
Change-Id: I524714e081a27df4d2046f0c8eb853a1b20592e6

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
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 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
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
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 agoFix misc-macro-parentheses warnings in bionic.
Chih-Hung Hsieh [Fri, 10 Jun 2016 18:07:21 +0000 (11:07 -0700)]
Fix misc-macro-parentheses warnings in bionic.

Add parentheses around macro arguments used beside operators,
or use constexpr for simple constants.
Bug: 28705665

Change-Id: I378c8aad92d3ec8e8c4b0440b5c2c99dfe01ce79

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 \"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
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
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
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
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
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 \"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
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
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
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
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: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
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

8 years agoMerge "Fix __errordecl on clang."
Treehugger Robot [Fri, 3 Jun 2016 19:29:12 +0000 (19:29 +0000)]
Merge "Fix __errordecl on clang."

8 years agoMerge "Fix misc-macro-parentheses warnings in bionic/tests." am: e7d75a5d43
Chih-hung Hsieh [Fri, 3 Jun 2016 19:02:20 +0000 (19:02 +0000)]
Merge "Fix misc-macro-parentheses warnings in bionic/tests." am: e7d75a5d43
am: d9bece770c

* commit 'd9bece770c2796697186fbc100df13c1fcb50cec':
  Fix misc-macro-parentheses warnings in bionic/tests.

Change-Id: I2fbbc7fae4d7dcff9e7bd9002617dc8483929c2d

8 years agoMerge "Fix misc-macro-parentheses warnings in bionic/tests."
Chih-Hung Hsieh [Fri, 3 Jun 2016 18:54:51 +0000 (18:54 +0000)]
Merge "Fix misc-macro-parentheses warnings in bionic/tests."
am: e7d75a5d43

* commit 'e7d75a5d43b036171e180c26a3da1072f7c706d9':
  Fix misc-macro-parentheses warnings in bionic/tests.

Change-Id: Ibd4e65fa11d32d79b60eb7df797bfd07ed565dec

8 years agoMerge "Remove __brk" am: c42811e5bc
Dimitry Ivanov [Fri, 3 Jun 2016 18:49:36 +0000 (18:49 +0000)]
Merge "Remove __brk" am: c42811e5bc
am: f9d8052575

* commit 'f9d805257557e99e9d3ae84711d260f27f072637':
  Remove __brk

Change-Id: I21909d8b89920e9f239fe7c2c8def5863d05ed30

8 years agoMerge "Fix misc-macro-parentheses warnings in bionic/tests."
Chih-hung Hsieh [Fri, 3 Jun 2016 18:46:42 +0000 (18:46 +0000)]
Merge "Fix misc-macro-parentheses warnings in bionic/tests."

8 years agoMerge "Remove __brk"
Dimitry Ivanov [Fri, 3 Jun 2016 18:42:31 +0000 (18:42 +0000)]
Merge "Remove __brk"
am: c42811e5bc

* commit 'c42811e5bc888bf631eaae2e8788c020c858c509':
  Remove __brk

Change-Id: I3bb207eed89ff5903592501d0d3e6c46fb2fef93