OSDN Git Service
Elliott Hughes [Sat, 8 Oct 2016 20:53:33 +0000 (20:53 +0000)]
Merge "Document a post-N dynamic linker change." am:
1c45e6fa47
am:
a38fd57a0b
Change-Id: I92e3efb634d7912fcc37b3c54a46cac43bf2826a
Elliott Hughes [Sat, 8 Oct 2016 20:48:31 +0000 (20:48 +0000)]
Merge "Document a post-N dynamic linker change."
am:
1c45e6fa47
Change-Id: I9107e734f1796a5570d171cd6dcbe9225a5411c2
Treehugger Robot [Sat, 8 Oct 2016 20:41:27 +0000 (20:41 +0000)]
Merge "Document a post-N dynamic linker change."
Elliott Hughes [Fri, 7 Oct 2016 23:08:33 +0000 (23:08 +0000)]
Merge "Turn the recent blog post into markdown docs." am:
a3745834f2
am:
f9e330bbc8
Change-Id: I4225830fe3a51c09369eab8e7c2b79b999d59523
Elliott Hughes [Fri, 7 Oct 2016 23:08:23 +0000 (23:08 +0000)]
Turn the recent blog post into markdown docs. am:
c45380d20c
am:
277864c3d1
Change-Id: I414c4cdf9f31c05c264e5cbf8fb4905ad7013d89
Elliott Hughes [Fri, 7 Oct 2016 23:03:27 +0000 (23:03 +0000)]
Merge "Turn the recent blog post into markdown docs."
am:
a3745834f2
Change-Id: I221adde4dde21cec911fe0537f72f39f7f2b13e7
Elliott Hughes [Fri, 7 Oct 2016 23:03:26 +0000 (23:03 +0000)]
Turn the recent blog post into markdown docs.
am:
c45380d20c
Change-Id: I3559e1ae5e2c4fd9d7a4687fab39d9678d557234
Elliott Hughes [Fri, 7 Oct 2016 22:59:58 +0000 (15:59 -0700)]
Document a post-N dynamic linker change.
Test: N/A
Change-Id: I37f3ccccd81c29a4ffe400fc2177bbe082195ade
Elliott Hughes [Fri, 7 Oct 2016 22:56:32 +0000 (22:56 +0000)]
Merge "Turn the recent blog post into markdown docs."
Elliott Hughes [Wed, 5 Oct 2016 21:35:00 +0000 (14:35 -0700)]
Turn the recent blog post into markdown docs.
Originally http://android-developers.blogspot.com/2016/06/android-changes-for-ndk-developers.html
Test: N/A
Change-Id: I7ab75bcf9d518310fdf4e752929ba71c286fa242
Tianjie Xu [Fri, 7 Oct 2016 04:38:46 +0000 (04:38 +0000)]
Fix a linking error in bionic/tests
am:
3656958a16 -s ours
Change-Id: I5eb11248a4f76abd0e5ba937edb79b56bfec40fa
Tianjie Xu [Fri, 7 Oct 2016 02:23:05 +0000 (19:23 -0700)]
Fix a linking error in bionic/tests
Fix the following linking error by adding liblog in the makefile:
"system/core/libziparchive/zip_archive.cc:277: error: undefined reference to
'__android_log_error_write'"
The error happens because libziparchive has dependency on liblog. This
error affects the downstream branches of nyc-dev.
Bug:
31251826
Test: mma -j32
Change-Id: Ia42909bbbd150ae0ca9f6aa6b14372f2e0aedccf
Dimitry Ivanov [Wed, 5 Oct 2016 16:27:10 +0000 (16:27 +0000)]
Merge changes Ie6777e2b,Iaed834be am:
e35872605b
am:
4be70a368b
Change-Id: I6ca5ebf4b09757606810fb37da13b7b94e32f361
neo.chae [Wed, 5 Oct 2016 16:27:06 +0000 (16:27 +0000)]
Fix for default library path "/vendor/lib" am:
2589f9de64
am:
6769c98fdb
Change-Id: I4236b7446893e43d85ff11fe0a07d32980cd14cd
Dimitry Ivanov [Wed, 5 Oct 2016 16:27:01 +0000 (16:27 +0000)]
Fix bionic-unit-tests am:
d11d1e4a97
am:
1a4e213bce
Change-Id: Ib45d577d3cb7a3e3333d9fd2d51eaf4477aaaa06
Dimitry Ivanov [Wed, 5 Oct 2016 16:24:35 +0000 (16:24 +0000)]
Merge changes Ie6777e2b,Iaed834be
am:
e35872605b
Change-Id: I29f7da2e449d0182aef7cbd123355c3868619c39
neo.chae [Wed, 5 Oct 2016 16:24:33 +0000 (16:24 +0000)]
Fix for default library path "/vendor/lib"
am:
2589f9de64
Change-Id: Iedd66e5461cb7148f0864a3f759c7cad4f3fc898
Dimitry Ivanov [Wed, 5 Oct 2016 16:24:30 +0000 (16:24 +0000)]
Fix bionic-unit-tests
am:
d11d1e4a97
Change-Id: I920d980a75d27ca0df86b90f30ad261845f4bd52
Dimitry Ivanov [Wed, 5 Oct 2016 16:20:44 +0000 (16:20 +0000)]
Merge changes Ie6777e2b,Iaed834be
* changes:
Fix for default library path "/vendor/lib"
Fix bionic-unit-tests
neo.chae [Tue, 4 Oct 2016 02:00:27 +0000 (11:00 +0900)]
Fix for default library path "/vendor/lib"
Android N restrict which libraries C/C++ code
can link against at runtime.
If device has a vendor partition
then /system/vendor symlink to /vendor.
Otherwise /vendor symlink to /system/vendor.
But is_system_library() is only checking /vendor/lib.
It will return false for /system/vendor/lib path.
It is need to add a real path to default library path.
Similarily, default ld library path is already checking.
parse_LD_LIBRARY_PATH()->parse_path()->resolve_paths()
Test: build bionic and run bionic-unit-tests
Bug: http://b/
31919547
Change-Id: Ie6777e2b02729948ce77a94de32343d40358bf2c
Signed-off-by: Hyangseok Chae <neo.chae@lge.com>
Dimitry Ivanov [Wed, 5 Oct 2016 09:51:17 +0000 (02:51 -0700)]
Fix bionic-unit-tests
Fix rpath value for libraries after build system update
Bug: http://b/
31221587
Test: run bionic-unit-tests --gtest_filter=dl*:Dl*:*atexit*
Change-Id: Iaed834bef830fd0b252b5de82e27634bafc92d8b
Elliott Hughes [Tue, 4 Oct 2016 02:31:52 +0000 (02:31 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c." am:
1ba0e27462
am:
df847f4900
Change-Id: I5f8d9fa899d1f6cf0905dc8d6327c9be560d729f
Elliott Hughes [Tue, 4 Oct 2016 02:29:22 +0000 (02:29 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c."
am:
1ba0e27462
Change-Id: I1804304cd3f1c9e584448f2fe6b1e7f6e03eb46b
Elliott Hughes [Tue, 4 Oct 2016 02:25:03 +0000 (02:25 +0000)]
Merge "Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c."
Elliott Hughes [Mon, 3 Oct 2016 23:46:33 +0000 (16:46 -0700)]
Add missing O_CLOEXEC and TEMP_FAILURE_RETRY to localtime.c.
Follow-on change from http://b/
31848040.
Test: *time* tests.
Change-Id: I3f1c9ce19b90f6f8c1ac6e0753e3fed0ff63c0b4
Elliott Hughes [Mon, 3 Oct 2016 23:39:40 +0000 (23:39 +0000)]
Merge "Fix tzdata loading." am:
0bee605aab
am:
00a37e58e2
Change-Id: I11c5253bb95f2485788ec9f522dba9763089c686
Elliott Hughes [Mon, 3 Oct 2016 23:37:10 +0000 (23:37 +0000)]
Merge "Fix tzdata loading."
am:
0bee605aab
Change-Id: Idbce9d8d5bb1c3898da67415da913f8d2620d761
Elliott Hughes [Mon, 3 Oct 2016 23:35:34 +0000 (23:35 +0000)]
Merge "Fix tzdata loading."
Elliott Hughes [Mon, 3 Oct 2016 19:29:30 +0000 (12:29 -0700)]
Fix tzdata loading.
Android uses one large file of tzdata, so the "read up to the maximum
possible length of a valid tzfile" code in upstream localtime.c is
broken: there is always data after the current tzfile (even the
last tzfile is followed by the zone.tab data). This patch passes the
exact length through to the read(2) call so we don't over-read, rather
than have to rewrite upstream code that measures back from the "end" of
the tzfile.
The old code failed the existing time.strftime_null_tm_zone test after
updating to tzdata2016g.
Bug: http://b/
31848040
Test: time.strftime_null_tm_zone
Change-Id: Iee059b5a8c051bd4952cfd80f02b00d83e489d5e
Joachim Sauer [Mon, 3 Oct 2016 10:44:01 +0000 (10:44 +0000)]
Merge "Update timezone data to 2016g." am:
d609630799
am:
7a608a8876
Change-Id: I59f3d095809bd36d7df25323b94f9a85e9f0fdea
Joachim Sauer [Mon, 3 Oct 2016 10:40:30 +0000 (10:40 +0000)]
Merge "Update timezone data to 2016g."
am:
d609630799
Change-Id: Ia3f68e65f624859dde08cee5f563ff5ce9863296
Joachim Sauer [Mon, 3 Oct 2016 10:34:43 +0000 (10:34 +0000)]
Merge "Update timezone data to 2016g."
Joachim Sauer [Fri, 30 Sep 2016 15:36:51 +0000 (16:36 +0100)]
Update timezone data to 2016g.
The 2016g release of the tz code and data is available. It reflects the
following changes, which were either circulated on the tz mailing list
or are relatively minor technical or administrative changes:
Changes to future time stamps
Turkey switched from EET/EEST (+02/+03) to permanent +03,
effective 2016-09-07. (Thanks to Burak AYDIN.) Use "+03" rather
than an invented abbreviation for the new time.
New leap second 2016-12-31 23:59:60 UTC as per IERS Bulletin C 52.
(Thanks to Tim Parenti.)
Changes to past time stamps
For America/Los_Angeles, spring-forward transition times have been
corrected from 02:00 to 02:01 in 1948, and from 02:00 to 01:00 in
1950-1966.
For zones using Soviet time on 1919-07-01, transitions to UT-based
time were at 00:00 UT, not at 02:00 local time. The affected
zones are Europe/Kirov, Europe/Moscow, Europe/Samara, and
Europe/Ulyanovsk. (Thanks to Alexander Belopolsky.)
Changes to past and future time zone abbreviations
The Factory zone now uses the time zone abbreviation -00 instead
of a long English-language string, as -00 is now the normal way to
represent an undefined time zone.
Several zones in Antarctica and the former Soviet Union, along
with zones intended for ships at sea that cannot use POSIX TZ
strings, now use numeric time zone abbreviations instead of
invented or obsolete alphanumeric abbreviations. The affected
zones are Antarctica/Casey, Antarctica/Davis,
Antarctica/DumontDUrville, Antarctica/Mawson, Antarctica/Rothera,
Antarctica/Syowa, Antarctica/Troll, Antarctica/Vostok,
Asia/Anadyr, Asia/Ashgabat, Asia/Baku, Asia/Bishkek, Asia/Chita,
Asia/Dushanbe, Asia/Irkutsk, Asia/Kamchatka, Asia/Khandyga,
Asia/Krasnoyarsk, Asia/Magadan, Asia/Omsk, Asia/Sakhalin,
Asia/Samarkand, Asia/Srednekolymsk, Asia/Tashkent, Asia/Tbilisi,
Asia/Ust-Nera, Asia/Vladivostok, Asia/Yakutsk, Asia/Yekaterinburg,
Asia/Yerevan, Etc/GMT-14, Etc/GMT-13, Etc/GMT-12, Etc/GMT-11,
Etc/GMT-10, Etc/GMT-9, Etc/GMT-8, Etc/GMT-7, Etc/GMT-6, Etc/GMT-5,
Etc/GMT-4, Etc/GMT-3, Etc/GMT-2, Etc/GMT-1, Etc/GMT+1, Etc/GMT+2,
Etc/GMT+3, Etc/GMT+4, Etc/GMT+5, Etc/GMT+6, Etc/GMT+7, Etc/GMT+8,
Etc/GMT+9, Etc/GMT+10, Etc/GMT+11, Etc/GMT+12, Europe/Kaliningrad,
Europe/Minsk, Europe/Samara, Europe/Volgograd, and
Indian/Kerguelen. For Europe/Moscow the invented abbreviation MSM
was replaced by +05, whereas MSK and MSD were kept as they are not
our invention and are widely used.
Changes to zone names
Rename Asia/Rangoon to Asia/Yangon, with a backward compatibility link.
(Thanks to David Massoud.)
Test: Ran CTS modules CtsLibcoreTestCases and CtsBionicTestCases.
Bug:
31848040
Change-Id: I1e652ce2e428d44ba143e4ca9630fd2dc46087e4
Elliott Hughes [Fri, 30 Sep 2016 15:48:37 +0000 (15:48 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null." am:
b81ade6203
am:
b11335cf6c
Change-Id: I6881ec030ce00a879938af9045a1c9b4c43c1534
Elliott Hughes [Fri, 30 Sep 2016 15:48:27 +0000 (15:48 +0000)]
Merge "Fix tests/run-on-host.sh for glibc." am:
d43c8891ae
am:
f8cafd1ade
Change-Id: Ifda9f3e9293fca337e4b202d89d7b5f118c945ff
Elliott Hughes [Fri, 30 Sep 2016 15:46:08 +0000 (15:46 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null."
am:
b81ade6203
Change-Id: I8a776e78905a0445bc51b99f194dbf90fdc7fca4
Elliott Hughes [Fri, 30 Sep 2016 15:45:56 +0000 (15:45 +0000)]
Merge "Fix tests/run-on-host.sh for glibc."
am:
d43c8891ae
Change-Id: Ic2f0d40fd4d88ae1293d0ae71eb3512b3f097fec
Elliott Hughes [Fri, 30 Sep 2016 15:41:40 +0000 (15:41 +0000)]
Merge "Fix mbsnrtowcs where `dst` is null."
Elliott Hughes [Fri, 30 Sep 2016 15:37:48 +0000 (15:37 +0000)]
Merge "Fix tests/run-on-host.sh for glibc."
Colin Cross [Fri, 30 Sep 2016 04:24:21 +0000 (04:24 +0000)]
Merge "Update escaping in Android.bp files" am:
83e9f36a11
am:
ffddaa224f
Change-Id: I6bf5ed1c42c5fc2c0db50707bd7c220fb69d3a6c
Colin Cross [Fri, 30 Sep 2016 04:21:20 +0000 (04:21 +0000)]
Merge "Update escaping in Android.bp files"
am:
83e9f36a11
Change-Id: Iab609c724e4e59777d79d6c7db10adf6069b37eb
Treehugger Robot [Fri, 30 Sep 2016 04:17:57 +0000 (04:17 +0000)]
Merge "Update escaping in Android.bp files"
Elliott Hughes [Fri, 30 Sep 2016 00:21:43 +0000 (17:21 -0700)]
Fix mbsnrtowcs where `dst` is null.
POSIX is its usual unintelligible self
(http://pubs.opengroup.org/onlinepubs/
9699919799/functions/mbsrtowcs.html),
but the ISO C11 standard (7.29.6.4.1 paragraph 2) is pretty clear: *src
should change if and only if dst is non-null.
Bug: https://code.google.com/p/android/issues/detail?id=166381
Test: bionic tests
Change-Id: Ibc631cfa5b1bf4a6f56963feba9f0eea27b07984
Elliott Hughes [Fri, 30 Sep 2016 00:17:15 +0000 (17:17 -0700)]
Fix tests/run-on-host.sh for glibc.
Test: tests/run-on-host.sh glibc
Change-Id: Idd5b2a72335ff0ca47f37c578f71cec8c9fb6ea0
Colin Cross [Thu, 29 Sep 2016 21:08:13 +0000 (14:08 -0700)]
Update escaping in Android.bp files
Strings like cflags in Android.bp files are parsed by blueprint,
written to build.ninja files, parsed by ninja, and then passed to
/bin/sh -c. This had resulted in a combination of blueprint
(\"), ninja ($$), and shell (\$) escaping being necessary.
Soong has been updated to automatically handle ninja and shell
escaping, remove extra escaping from Android.bp files.
Bug:
31221587
Test: m -j
Change-Id: Ib58a51dee8d22296b69ec21768ba6a49dd60e980
Christopher Ferris [Thu, 29 Sep 2016 17:41:48 +0000 (17:41 +0000)]
Merge "Update documentation." am:
cc9e9933e1
am:
9131d36605
Change-Id: I9b6b40834a6284b449682d06d948aaeab76fd50c
Christopher Ferris [Thu, 29 Sep 2016 17:37:18 +0000 (17:37 +0000)]
Merge "Update documentation."
am:
cc9e9933e1
Change-Id: Idea96ab292c60ea5756e6cef0d9748476bb7bb7c
Christopher Ferris [Thu, 29 Sep 2016 17:28:39 +0000 (17:28 +0000)]
Merge "Update documentation."
Elliott Hughes [Thu, 29 Sep 2016 16:01:42 +0000 (16:01 +0000)]
Merge "Rename __pure, __pure2, and __purefunc." am:
6a5f7f5873
am:
bffbbf0a75
Change-Id: I2eae4fa24537bf2ffe671401f52c6b7d639f452d
Elliott Hughes [Thu, 29 Sep 2016 15:57:12 +0000 (15:57 +0000)]
Merge "Rename __pure, __pure2, and __purefunc."
am:
6a5f7f5873
Change-Id: I9da60e53ca868cbf0b8916e5c5f235b894e2637c
Elliott Hughes [Thu, 29 Sep 2016 15:49:08 +0000 (15:49 +0000)]
Merge "Rename __pure, __pure2, and __purefunc."
Christopher Ferris [Wed, 28 Sep 2016 21:51:12 +0000 (14:51 -0700)]
Update documentation.
Fix the incorrect mention of when the zygote flag is set on a size.
Add information about how to use am dumpheap -n to dump the native
heap to a file.
Test: Documentation only change.
Change-Id: I82e810ee7ffffcf7506fb6fd9bcfdfb0465a48be
Elliott Hughes [Wed, 28 Sep 2016 19:29:52 +0000 (12:29 -0700)]
Rename __pure, __pure2, and __purefunc.
These names were pretty misleading (aka "backwards"), so switch to the
same obvious names glibc uses.
Test: build.
Change-Id: Ia98c9dbbccd0820386116562347654e84669034a
Josh Gao [Mon, 26 Sep 2016 22:05:03 +0000 (22:05 +0000)]
Merge changes Idcbc544e,Ic7cfad1c am:
1d20532f5c
am:
b3fb4102af
Change-Id: I419cda979fd78642c3c2b94b146af51efffa31d3
Josh Gao [Mon, 26 Sep 2016 22:05:00 +0000 (22:05 +0000)]
Fix warnings (and errors) in static inline headers. am:
6cd9fb080c
am:
1ebfdede9c
Change-Id: I59fe1f01e293ddf4958ef46ba0c2e98973869ebd
Josh Gao [Mon, 26 Sep 2016 22:04:57 +0000 (22:04 +0000)]
Add versioner to preupload hook. am:
0173379610
am:
2a45c836c9
Change-Id: I00fae57e7daa79a7fb481f3ff629a4980fccaf11
Josh Gao [Mon, 26 Sep 2016 22:03:05 +0000 (22:03 +0000)]
Merge changes Idcbc544e,Ic7cfad1c
am:
1d20532f5c
Change-Id: I5c0c2cfc2526902183bec5c894f1fca9eb0c841c
Josh Gao [Mon, 26 Sep 2016 22:03:04 +0000 (22:03 +0000)]
Fix warnings (and errors) in static inline headers.
am:
6cd9fb080c
Change-Id: I1bd31615a52c78b06461553ed70b7defc46dedf8
Josh Gao [Mon, 26 Sep 2016 22:03:00 +0000 (22:03 +0000)]
Add versioner to preupload hook.
am:
0173379610
Change-Id: Iaa64a1dfcb4b12d65d99ed58e848366254bd8431
Josh Gao [Mon, 26 Sep 2016 21:53:01 +0000 (21:53 +0000)]
Merge changes Idcbc544e,Ic7cfad1c
* changes:
Fix warnings (and errors) in static inline headers.
Add versioner to preupload hook.
Elliott Hughes [Mon, 26 Sep 2016 18:41:43 +0000 (18:41 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test." am:
424a5f629c
am:
1692a4d2bc
Change-Id: I4406e650bd97fcd0346025a268e7f72f3a820521
Elliott Hughes [Mon, 26 Sep 2016 18:39:12 +0000 (18:39 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test."
am:
424a5f629c
Change-Id: I357f244cd94b34c8cea507e290b69a8e028d3707
Treehugger Robot [Mon, 26 Sep 2016 18:34:55 +0000 (18:34 +0000)]
Merge "Fix complex.csqrtf test and add a trivial sincosl test."
Elliott Hughes [Mon, 26 Sep 2016 16:35:04 +0000 (09:35 -0700)]
Fix complex.csqrtf test and add a trivial sincosl test.
sincos and sincosf are being tested more thoroughly with a table of data,
but there's nothing equivalent for sincosl.
Test: ran the tests, obviously.
Change-Id: I5b4b22b73cad9b0030549de2e2ed2a0e38648806
Josh Gao [Fri, 23 Sep 2016 21:06:05 +0000 (14:06 -0700)]
Fix warnings (and errors) in static inline headers.
Bug: http://b/
31676510
Change-Id: Idcbc544e498f7e6bbe99c2bf7dc557a5681e96c4
Test: preupload hook
Josh Gao [Fri, 23 Sep 2016 00:28:12 +0000 (17:28 -0700)]
Add versioner to preupload hook.
Bug: http://b/
31676510
Change-Id: Ic7cfad1cb214c9f711a985bace484a20db1a89b6
Test: submitted this patch, and it failed
Dan Albert [Thu, 22 Sep 2016 17:53:54 +0000 (17:53 +0000)]
Merge changes Ic43d690d,Ifec6c320 am:
0855431067
am:
0a849b5d99
Change-Id: I6ab172a78ec2f43a3ee5b810f8342fdb5990db23
Dan Albert [Thu, 22 Sep 2016 17:53:36 +0000 (17:53 +0000)]
Add legacy inlines for locale aware APIs. am:
6576a3749b
am:
f07097a2ff
Change-Id: If92cc3910d8f4ca1e9b3bb70edc073ad95cd409e
Dan Albert [Thu, 22 Sep 2016 17:53:22 +0000 (17:53 +0000)]
Add strtof_l and strtod_l. am:
3103f6d39e
am:
df5bb6cbee
Change-Id: I184574b4c32e3b9265bb310d07e450641cbbc6a7
Dan Albert [Thu, 22 Sep 2016 17:49:24 +0000 (17:49 +0000)]
Merge changes Ic43d690d,Ifec6c320
am:
0855431067
Change-Id: Ib122da0020068de7e61282a15f67224709976024
Dan Albert [Thu, 22 Sep 2016 17:49:23 +0000 (17:49 +0000)]
Add legacy inlines for locale aware APIs.
am:
6576a3749b
Change-Id: Id0369d3efc4f2245754d86d3fa49d7af25e0334e
Dan Albert [Thu, 22 Sep 2016 17:49:18 +0000 (17:49 +0000)]
Add strtof_l and strtod_l.
am:
3103f6d39e
Change-Id: If83197fe3e6be86264cd0f84918f011fd304fbdb
Treehugger Robot [Thu, 22 Sep 2016 16:28:14 +0000 (16:28 +0000)]
Merge changes Ic43d690d,Ifec6c320
* changes:
Add legacy inlines for locale aware APIs.
Add strtof_l and strtod_l.
Dan Albert [Wed, 21 Sep 2016 08:16:13 +0000 (01:16 -0700)]
Add legacy inlines for locale aware APIs.
Test: make checkbuild tests
Bug: http://b/
31639993
Change-Id: Ic43d690dff3c6960d7826bd0b064640a3ea0e883
Dan Albert [Wed, 21 Sep 2016 08:42:19 +0000 (01:42 -0700)]
Add strtof_l and strtod_l.
libc++ needs these now. Add shims to match the others.
Test: make checkbuild tests
Bug: http://b/
31639993
Change-Id: Ifec6c32099145d8d3d1a5639a4809e5e9f553c33
Nick Desaulniers [Wed, 21 Sep 2016 23:29:40 +0000 (23:29 +0000)]
Merge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE" am:
904460f749
am:
1d52d65277
Change-Id: I61d9c05457d58f92e94f9a22ea954357f4abf73d
Elliott Hughes [Wed, 21 Sep 2016 23:29:28 +0000 (23:29 +0000)]
Merge "Remove remaining big-endian cruft." am:
53ad33b993
am:
b00f351cef
Change-Id: I5cb55ab64cee2abcacb235651c31446df3f8d83a
Elliott Hughes [Wed, 21 Sep 2016 23:29:17 +0000 (23:29 +0000)]
Merge "Remove _KERNEL references from <machine/elf_machdep.h>." am:
c351cbd7c0
am:
0ecccff0f6
Change-Id: I5c57f5c626cdab6028dc8a58cd8e54466c6222b2
Nick Desaulniers [Wed, 21 Sep 2016 22:43:25 +0000 (22:43 +0000)]
Merge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE"
am:
904460f749
Change-Id: I05b4736d73e2122e082286157878fca8a804e6bb
Nick Desaulniers [Wed, 21 Sep 2016 22:30:31 +0000 (22:30 +0000)]
Merge "bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE"
Elliott Hughes [Wed, 21 Sep 2016 22:07:59 +0000 (22:07 +0000)]
Merge "Remove remaining big-endian cruft."
am:
53ad33b993
Change-Id: Ic812ff2fd3a89dbbf8c78877ec84bdd5a32c1299
Elliott Hughes [Wed, 21 Sep 2016 22:07:49 +0000 (22:07 +0000)]
Merge "Remove _KERNEL references from <machine/elf_machdep.h>."
am:
c351cbd7c0
Change-Id: I1bf559da5185fb4dd1375c441e1f3fe1017aa42b
Elliott Hughes [Wed, 21 Sep 2016 21:48:24 +0000 (21:48 +0000)]
Merge "Remove remaining big-endian cruft."
Elliott Hughes [Wed, 21 Sep 2016 21:48:15 +0000 (21:48 +0000)]
Merge "Remove _KERNEL references from <machine/elf_machdep.h>."
Nick Desaulniers [Tue, 19 Jul 2016 22:20:24 +0000 (15:20 -0700)]
bionic: tests: add test for fallocate FALLOC_FL_PUNCH_HOLE
Bug:
28760453
Change-Id: I1a58d19bf45eac5f930b0f649cf9b8c9046302f3
Dan Albert [Wed, 21 Sep 2016 15:48:22 +0000 (15:48 +0000)]
Merge "Match _Nonnull between char and wchar_t funcs." am:
d263fe5d13
am:
484a50a7f6
Change-Id: I4d88a7e35a64ffa73bb34d4535623f076cde00ec
Dan Albert [Wed, 21 Sep 2016 15:44:40 +0000 (15:44 +0000)]
Merge "Match _Nonnull between char and wchar_t funcs."
am:
d263fe5d13
Change-Id: I487a24cf2cd19c899ea41806856c2ca00ce44391
Treehugger Robot [Wed, 21 Sep 2016 15:39:33 +0000 (15:39 +0000)]
Merge "Match _Nonnull between char and wchar_t funcs."
Dan Albert [Wed, 21 Sep 2016 15:39:08 +0000 (15:39 +0000)]
Merge "Add __ANDROID_API_FUTURE__." am:
01b70ac552
am:
d1162db1a9
Change-Id: I760ac9b1ae4793eae1c59730245b19655375c850
Dan Albert [Wed, 21 Sep 2016 15:35:39 +0000 (15:35 +0000)]
Merge "Add __ANDROID_API_FUTURE__."
am:
01b70ac552
Change-Id: I9a8fb6720d68188fd9da869269045b4441ac23a4
Treehugger Robot [Wed, 21 Sep 2016 15:29:52 +0000 (15:29 +0000)]
Merge "Add __ANDROID_API_FUTURE__."
Dan Albert [Wed, 21 Sep 2016 08:57:51 +0000 (01:57 -0700)]
Match _Nonnull between char and wchar_t funcs.
The char versions of these functions have `_Nonnull` on these
parameters. Match it in the wide char versions. strxfrm_l also has
`__restrict` on its pointer arguments, I believe we've decided that's
something that shouldn't be proliferated...
Test: make checkbuild tests
Bug: None
Change-Id: Ie533e1af92b2a7c9df657073dbc4c345abf72473
Dan Albert [Wed, 21 Sep 2016 08:08:44 +0000 (01:08 -0700)]
Add __ANDROID_API_FUTURE__.
Needed for checking conditions like `__ANDROID_API__ <
__ANDROID_API_FUTURE__` for providing inlines for things that have
not yet been included in any release.
Test: make checkbuild tests
Bug: None
Change-Id: Ibcddac5a538ede020a8cb65fca03194475121966
Elliott Hughes [Sat, 17 Sep 2016 16:49:49 +0000 (16:49 +0000)]
Merge "Fix some easy cases of __ANDROID__ versus __BIONIC__." am:
42743f1e9e
am:
38718ceac2
Change-Id: I78c74a81bb42d97470b19ca2e1c8afc92d5df54c
Elliott Hughes [Sat, 17 Sep 2016 16:47:19 +0000 (16:47 +0000)]
Merge "Fix some easy cases of __ANDROID__ versus __BIONIC__."
am:
42743f1e9e
Change-Id: I15acfed16e1381673ae9d8338348d6ad925abba8
Elliott Hughes [Sat, 17 Sep 2016 16:40:59 +0000 (16:40 +0000)]
Merge "Fix some easy cases of __ANDROID__ versus __BIONIC__."
Elliott Hughes [Sat, 17 Sep 2016 01:53:01 +0000 (18:53 -0700)]
Remove remaining big-endian cruft.
We'd removed most of it already, but a few bits and pieces were still lying
around.
Change-Id: I572a23eb15b9670d8d0f95586eca99ab0bdb4a1b
Test: mm.
Elliott Hughes [Sat, 17 Sep 2016 01:38:48 +0000 (18:38 -0700)]
Remove _KERNEL references from <machine/elf_machdep.h>.
Test: mm.
Change-Id: I9dff708dd05d4f9e52ccdfde96e096553c873054
Elliott Hughes [Sat, 17 Sep 2016 01:16:47 +0000 (18:16 -0700)]
Fix some easy cases of __ANDROID__ versus __BIONIC__.
We need to make a clearer distinction for bionic on the host. This patch
doesn't fully address things like "should host bionic try to talk to netd?"
for now, but is a step in the right direction.
Bug: http://b/
31559095
Test: bionic tests.
Change-Id: I49812f8b75d9d78c4fd8a8ddf5df1201d63771d6
Dimitry Ivanov [Fri, 16 Sep 2016 16:23:07 +0000 (16:23 +0000)]
Merge "Make static library for loader tests" am:
9d4d60b480
am:
0a727b2550
Change-Id: If3b144c1d1f208fdf2d766e7ab158c67c9098bc0