OSDN Git Service
Josh Gao [Fri, 11 Nov 2016 22:30:57 +0000 (22:30 +0000)]
Merge changes I7f32dc9f,I9d88ddb1
am:
cd9ce19e9c
Change-Id: I3294cceacf564de140e374068c5ed3974df1875c
Josh Gao [Fri, 11 Nov 2016 22:30:56 +0000 (22:30 +0000)]
Revert "Revert "Attempt to use arc4random where getauxval(AT_RANDOM) is used.""
am:
a170d9bfc5
Change-Id: I2f72f07b59c8e5e0e7e19b41ce40a2c874a24330
Josh Gao [Fri, 11 Nov 2016 22:30:53 +0000 (22:30 +0000)]
Revert "Revert "Update getentropy_linux.c from upstream.""
am:
98d655ce96
Change-Id: I4c41ee2b003790549f934c73644dcaee9efa9ba9
Treehugger Robot [Fri, 11 Nov 2016 22:20:17 +0000 (22:20 +0000)]
Merge changes I7f32dc9f,I9d88ddb1
* changes:
Revert "Revert "Attempt to use arc4random where getauxval(AT_RANDOM) is used.""
Revert "Revert "Update getentropy_linux.c from upstream.""
Josh Gao [Fri, 11 Nov 2016 00:08:29 +0000 (16:08 -0800)]
Revert "Revert "Attempt to use arc4random where getauxval(AT_RANDOM) is used.""
This reverts commit
60d052dda600f26fdb6180ac1a2c53e97df5a58a.
Bug: http://b/
27729263
Change-Id: I7f32dc9f9a1f21fda3213f10da940821e1bdd63f
Josh Gao [Fri, 11 Nov 2016 00:08:20 +0000 (16:08 -0800)]
Revert "Revert "Update getentropy_linux.c from upstream.""
This reverts commit
b3fbee449c314aee4bdc2f1720a931ea56c32f62.
Bug: http://b/
27729263
Change-Id: I9d88ddb11466d203514ae805f4681c92e4b63c24
Josh Gao [Wed, 9 Nov 2016 02:15:37 +0000 (02:15 +0000)]
Merge "versioner: don't always hide future decls."
am:
84e269d5af
Change-Id: Id889cddcb180ad3d485ff80ac475658df9ac402f
Treehugger Robot [Wed, 9 Nov 2016 02:07:17 +0000 (02:07 +0000)]
Merge "versioner: don't always hide future decls."
Elliott Hughes [Wed, 9 Nov 2016 01:31:44 +0000 (01:31 +0000)]
Merge "Document how to run the benchmarks."
am:
64fc6b5e20
Change-Id: Ie5ff7630f3e647240c7b170ad255ed0268814837
Christopher Ferris [Wed, 9 Nov 2016 01:31:33 +0000 (01:31 +0000)]
Merge "Fix error case to print newlines properly."
am:
b08fde95cb
Change-Id: I2987196ad6bb4e3ccf0c19b8e6b450903cf691f6
Treehugger Robot [Wed, 9 Nov 2016 01:20:58 +0000 (01:20 +0000)]
Merge "Document how to run the benchmarks."
Treehugger Robot [Wed, 9 Nov 2016 00:33:12 +0000 (00:33 +0000)]
Merge "Fix error case to print newlines properly."
Josh Gao [Wed, 9 Nov 2016 00:17:45 +0000 (16:17 -0800)]
versioner: don't always hide future decls.
Bug: http://b/
32748732
Test: python run_tests.py
Change-Id: I8f799015ebb1017f5e7d1324fb4c724e12a268bc
Elliott Hughes [Tue, 8 Nov 2016 23:38:26 +0000 (15:38 -0800)]
Document how to run the benchmarks.
Test: N/A
Change-Id: I13bf4f1b5a218e06e68ff8eb8156843175f2648a
Christopher Ferris [Tue, 8 Nov 2016 22:05:18 +0000 (14:05 -0800)]
Fix error case to print newlines properly.
Bug:
32640542
Test: Built and ran on a failing device.
Change-Id: I81a578af7608c741819062bd54aa8e348a621b83
Dimitry Ivanov [Tue, 8 Nov 2016 21:13:44 +0000 (21:13 +0000)]
Merge "Eliminate deadlock in forked child due to delayed resetting mutex lock"
am:
8bfaac0f8a
Change-Id: I7db0e466f3ea8af90fe9ec7c103ec3ddff3a7da9
Dimitry Ivanov [Tue, 8 Nov 2016 20:59:42 +0000 (20:59 +0000)]
Merge "Eliminate deadlock in forked child due to delayed resetting mutex lock"
Elliott Hughes [Tue, 8 Nov 2016 01:16:01 +0000 (01:16 +0000)]
Merge "Remove bogus OPEN_MAX and CHILD_MAX constants."
am:
bfc6ce6424
Change-Id: I5b05ef9af8a6ab128ddaf9daed4262fc64cfe623
Elliott Hughes [Tue, 8 Nov 2016 01:05:47 +0000 (01:05 +0000)]
Merge "Remove bogus OPEN_MAX and CHILD_MAX constants."
Dan Albert [Tue, 8 Nov 2016 00:04:00 +0000 (00:04 +0000)]
Merge "Add legacy inlines for fenv APIs."
am:
59a3439fe8
Change-Id: I527cc2d3dc974260e5f81b9fd45e246454841ce3
Treehugger Robot [Mon, 7 Nov 2016 23:51:40 +0000 (23:51 +0000)]
Merge "Add legacy inlines for fenv APIs."
Elliott Hughes [Mon, 7 Nov 2016 22:56:52 +0000 (22:56 +0000)]
Merge "Show amount of parallelism in gtest output."
am:
15ae549658
Change-Id: I397a9f303b650445608480551ba863cb5cdc78fd
Treehugger Robot [Mon, 7 Nov 2016 22:48:49 +0000 (22:48 +0000)]
Merge "Show amount of parallelism in gtest output."
Elliott Hughes [Mon, 7 Nov 2016 22:03:00 +0000 (14:03 -0800)]
Remove bogus OPEN_MAX and CHILD_MAX constants.
These are BSD-isms that don't make sense on Linux but do lead people astray.
Bug: http://b/
32678775
Test: builds & boots
Change-Id: If6d3636f5f8d1b392b08c997dba2afde61b31fb6
Dan Albert [Fri, 4 Nov 2016 18:39:16 +0000 (11:39 -0700)]
Add legacy inlines for fenv APIs.
Test: make native
Copied into the NDK and ran ndk/checkbuild.py
Bug: None
Change-Id: I3d1e9317952ad23145a1f5221e347a16ebad4b0d
Dan Albert [Mon, 7 Nov 2016 19:19:45 +0000 (19:19 +0000)]
Merge changes I660ddce6,Ic58d0481,I5d45aa72
am:
2560a2703d
Change-Id: Icc4bc065ea2257c1745a6740f3f9271a1fa791bc
Dan Albert [Mon, 7 Nov 2016 19:19:44 +0000 (19:19 +0000)]
Mark LIBC_DEPRECATED as platform-only.
am:
60dc6b2840
Change-Id: I3d18e28111be3fdccdff5303848a40b8633bf0d7
Dan Albert [Mon, 7 Nov 2016 19:19:41 +0000 (19:19 +0000)]
Remove _ZTV9type_info from the version script.
am:
57e094f30a
Change-Id: I0a6b2836b37791d9fdccbc820dfeb4ec7170b51a
Dan Albert [Mon, 7 Nov 2016 19:19:38 +0000 (19:19 +0000)]
Run genversion-scripts.py.
am:
832ccc2667
Change-Id: I181d4b2970362da7dc96ae2574e83d62cb540a6c
Treehugger Robot [Mon, 7 Nov 2016 19:12:38 +0000 (19:12 +0000)]
Merge changes I660ddce6,Ic58d0481,I5d45aa72
* changes:
Mark LIBC_DEPRECATED as platform-only.
Remove _ZTV9type_info from the version script.
Run genversion-scripts.py.
Christopher Ferris [Mon, 7 Nov 2016 16:46:58 +0000 (16:46 +0000)]
Merge "Fix cortex-a53 inclusion of files."
am:
9957485378
Change-Id: Iac36f062bd96e1d29d2156802858ffea64d9972f
Christopher Ferris [Mon, 7 Nov 2016 16:42:55 +0000 (16:42 +0000)]
Merge "Fix cortex-a53 inclusion of files."
Elliott Hughes [Mon, 7 Nov 2016 16:36:57 +0000 (16:36 +0000)]
Merge "Fix format macros for fast16 and fast32 int types."
am:
a3ab8ebedd
Change-Id: Id8156b85fa1d29acd6b4375798ed5df0aaa19b71
Elliott Hughes [Mon, 7 Nov 2016 16:33:35 +0000 (16:33 +0000)]
Merge "Fix format macros for fast16 and fast32 int types."
Christopher Ferris [Mon, 7 Nov 2016 16:12:25 +0000 (16:12 +0000)]
Merge "Make prctl test check maps."
am:
95780f2b42
Change-Id: Id4fb876295328ea874052abc88d5a94c8ba2959e
Christopher Ferris [Mon, 7 Nov 2016 16:06:03 +0000 (16:06 +0000)]
Merge "Make prctl test check maps."
Neil Fuller [Mon, 7 Nov 2016 11:15:42 +0000 (11:15 +0000)]
Merge "Update timezone data to 2016i."
am:
275659a0fd
Change-Id: I31a6cebb625addf8b68f5b2b1a67d7d59fdb53cc
Neil Fuller [Mon, 7 Nov 2016 11:11:13 +0000 (11:11 +0000)]
Merge "Update timezone data to 2016i."
Christopher Ferris [Mon, 7 Nov 2016 07:35:15 +0000 (23:35 -0800)]
Fix cortex-a53 inclusion of files.
I accidentally broken the cortex-a53 because it directly includes files
from cortex-a15. Rather than revert that part, just copy over the files
that are needed directly so we don't run into this in the future.
Test: Built the aosp_angler-userdebug target using cortex-a53 as the
Test: arm target. Then built the bionic unit tests and ran them on
Test: an angler.
Change-Id: Id89e240b31f94e99f5076e1de973a9344486ec35
Christopher Ferris [Thu, 3 Nov 2016 23:06:40 +0000 (16:06 -0700)]
Make prctl test check maps.
It turns out that sometimes this kernel bug can be present but not
trigger a crash. Modify the test to check for overlapping maps instead.
Bug:
32640542
Test: Verified that this fails on a device without the kernel patch
Test: (both bionic-unit-tests32 and CtsBionicTestCases32). Verified
Test: this passes on an angler.
Change-Id: Ia3fae3ee3d01f33d8414c1796fc3e942d5b56ec8
Mingwei Shi [Thu, 3 Nov 2016 14:53:45 +0000 (14:53 +0000)]
Eliminate deadlock in forked child due to delayed resetting mutex lock
For some program implementation, the pattern like below, calling
pthread_atfork to register atfork interfaces.
pthread_atfork(&atfork_prepare, &atfork_parent, &atfork_child);
When the program is expected to reopen the shared library's handle
inherited from parent in child process. Maybe, dlclose is called in
atfork_child to release the shared library handle before reopen it.
Then, dlclose will indrectly call _cxa_finalize and finaly call
__unregister_atfork when dso is not NULL.
atfork_child() -> dlclose() -> __on_dlclose()
-> __cxa_finalize() -> __unregister_atfork(dso)
In __unregister_atfork, firstly, it try to hold the g_atfork_list_mutex
lock to operate the g_atfork_list. Due to the registered atfork_child is
executed before resetting g_atfork_list_mutex lock in child, the child
process will be blocked here because of deadlock.
Test: bionic-unit-tests32 --gtest_filter=pthread.pthread_atfork_child_with_dlclose
without the fixing, the test will be timeout.
Change-Id: I35d3001682c836e0955d6d681bc5f9297fad0c7b
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
Signed-off-by: Qiming Shi <qiming.shi@intel.com>
Signed-off-by: Chao Xie <chao.xie@intel.com>
Dan Albert [Sat, 5 Nov 2016 20:15:01 +0000 (20:15 +0000)]
Merge "Clean up update_headers.sh."
am:
147fdb4724
Change-Id: Ie70f3d7e3609fa39ad9931e421690c56748e4251
Treehugger Robot [Sat, 5 Nov 2016 20:09:12 +0000 (20:09 +0000)]
Merge "Clean up update_headers.sh."
Robert Sesek [Sat, 5 Nov 2016 01:32:29 +0000 (01:32 +0000)]
Merge "Set __get_thread()->tid as part of clone()."
am:
f41032a3e2
Change-Id: Ic04e3283a680bec43d8d85a9ab9f035c746681ce
Treehugger Robot [Sat, 5 Nov 2016 01:24:13 +0000 (01:24 +0000)]
Merge "Set __get_thread()->tid as part of clone()."
Dan Albert [Fri, 4 Nov 2016 22:04:28 +0000 (15:04 -0700)]
Mark LIBC_DEPRECATED as platform-only.
These symbols should not be exposed in the NDK.
Test: make native
Bug: None
Change-Id: I660ddce6d67bfdac029e31ef8dde2985fd4b1de5
Dan Albert [Fri, 4 Nov 2016 23:48:53 +0000 (16:48 -0700)]
Remove _ZTV9type_info from the version script.
We broke this ABI in L:
https://android-review.googlesource.com/c/95071/.
This ABI break is now in over half of all devices, so it's more
correct to not have it than it is to have it. It's also worth noting
that this was only ever in ARM and MIPS; it was never in x86.
Test: make native
Bug: None
Change-Id: Ic58d048191f72d58fe72a2691bebbbfeda14bdf1
Dan Albert [Fri, 4 Nov 2016 22:05:30 +0000 (15:05 -0700)]
Run genversion-scripts.py.
I forgot to run this after adding NDK info to libstdc++.
Test: make native
Bug: None
Change-Id: I5d45aa7207b9eb548a233442aa0e3ab77d98baeb
Josh Gao [Fri, 4 Nov 2016 23:14:24 +0000 (23:14 +0000)]
Merge changes I9d050e54,Ic487036a
am:
bf67936b4b
Change-Id: I588d34c4acfb70478af8a2b831adb23ddb897475
Josh Gao [Fri, 4 Nov 2016 23:14:23 +0000 (23:14 +0000)]
versioner: allow static inlines that don't conflict.
am:
1a176de2f1
Change-Id: Iad7a8bec5bc2b836a06c5d846f523b6e1d20f5b9
Josh Gao [Fri, 4 Nov 2016 23:14:20 +0000 (23:14 +0000)]
versioner: fix output.
am:
a00e672361
Change-Id: I11bb53b4be47ea41337bf5ead9d3bcb1f2a177cb
Treehugger Robot [Fri, 4 Nov 2016 23:06:55 +0000 (23:06 +0000)]
Merge changes I9d050e54,Ic487036a
* changes:
versioner: allow static inlines that don't conflict.
versioner: fix output.
Robert Sesek [Thu, 3 Nov 2016 19:00:53 +0000 (15:00 -0400)]
Set __get_thread()->tid as part of clone().
This was previously done only in fork() and pthread_create(), but this left raw
clone() with an invalid cached tid. Since the tid is used for pthread routines,
this led to unstable behavior after clone().
Test: ltp clone01 (see bug for more)
Test: mmma bionic/tests
Test: bionic-unit-tests-static --gtest_filter=*fork*:*clone*
Bug:
32612735
Bug:
32305649
Change-Id: I30eae5a8024b4c5da65476fcadfe14c6db35bb79
Josh Gao [Fri, 4 Nov 2016 20:15:11 +0000 (13:15 -0700)]
versioner: allow static inlines that don't conflict.
Bug: http://b/
32664285
Test: python run_test.py
Change-Id: I9d050e545390eccd82661325c0ec58055f5f28a3
Josh Gao [Fri, 4 Nov 2016 19:04:38 +0000 (12:04 -0700)]
versioner: fix output.
Bug: http://b/
32664285
Test: python run_test.py
Change-Id: Ic487036a17cc6778493e316146e54ead8ce3e65b
Dan Albert [Fri, 4 Nov 2016 18:40:27 +0000 (11:40 -0700)]
Clean up update_headers.sh.
Clean up some output, check for errors from the versioner.
Test: tools/update_headers.sh
Bug: None
Change-Id: Ib398b534a9a8ee6dc6a2b4d90747f628aa911bab
Neil Fuller [Fri, 4 Nov 2016 16:23:47 +0000 (16:23 +0000)]
Update timezone data to 2016i.
IANA changes:
Briefly: Cyprus split into two time zones on 2016-10-30, and Tonga
reintroduces DST on 2016-11-06.
Changes to future time stamps
Pacific/Tongatapu begins DST on 2016-11-06 at 02:00, ending on
2017-01-15 at 03:00. Assume future observances in Tonga will be
from the first Sunday in November through the third Sunday in
January, like Fiji. (Thanks to Pulu ʻAnau.) Switch to numeric
time zone abbreviations for this zone.
Changes to past and future time stamps
Northern Cyprus is now +03 year round, causing a split in Cyprus
time zones starting 2016-10-30 at 04:00. This creates a zone
Asia/Famagusta. (Thanks to Even Scharning and Matt Johnson.)
Antarctica/Casey switched from +08 to +11 on 2016-10-22.
(Thanks to Steffen Thorsen.)
Changes to past time stamps
Several corrections were made for pre-1975 time stamps in Italy.
These affect Europe/Malta, Europe/Rome, Europe/San_Marino, and
Europe/Vatican.
First, the 1893-11-01 00:00 transition in Italy used the new UT
offset (+01), not the old (+00:49:56). (Thanks to Michael
Deckers.)
Second, rules for daylight saving in Italy were changed to agree
with Italy's National Institute of Metrological Research (INRiM)
except for 1944, as follows (thanks to Pierpaolo Bernardi, Brian
Inglis, and Michael Deckers):
The 1916-06-03 transition was at 24:00, not 00:00.
The 1916-10-01, 1919-10-05, and 1920-09-19 transitions were at
00:00, not 01:00.
The 1917-09-30 and 1918-10-06 transitions were at 24:00, not
01:00.
The 1944-09-17 transition was at 03:00, not 01:00. This
particular change is taken from Italian law as INRiM's table,
(which says 02:00) appears to have a typo here. Also, keep the
1944-04-03 transition for Europe/Rome, as Rome was controlled by
Germany then.
The 1967-1970 and 1972-1974 fallback transitions were at 01:00,
not 00:00.
Bug:
32629043
Test: CtsIcuTestCases / CtsLibcoreTestCases / CtsBionicTestCases
Change-Id: Ica473348c063d2d0372b30ce6d184742db042c05
Christopher Ferris [Thu, 3 Nov 2016 22:45:51 +0000 (22:45 +0000)]
Merge "Small cleanup of cortex-a15 code."
am:
aea8407ad5
Change-Id: I9da8efe43a17d85bb4a4913174983f14d25088ec
Christopher Ferris [Thu, 3 Nov 2016 22:40:16 +0000 (22:40 +0000)]
Merge "Small cleanup of cortex-a15 code."
Dan Albert [Wed, 2 Nov 2016 19:57:46 +0000 (19:57 +0000)]
Merge changes I751520a1,I5762e815
am:
42eb0b2555
Change-Id: I237e3fb8121385432e011e25a4030b63d3a31903
Dan Albert [Wed, 2 Nov 2016 19:57:45 +0000 (19:57 +0000)]
Add legacy inline for wait4.
am:
e749abe9ab
Change-Id: Ie50811b2a7281e143e7e2eeaaa70c7a6484b6102
Dan Albert [Wed, 2 Nov 2016 19:57:42 +0000 (19:57 +0000)]
Revert "Add legacy inlines for locale aware APIs."
am:
a3ce418ca6
Change-Id: Id9ddd8eb027c3e0db1a7c477a10c33a4a01fb4bb
Treehugger Robot [Wed, 2 Nov 2016 19:56:09 +0000 (19:56 +0000)]
Merge changes I751520a1,I5762e815
* changes:
Add legacy inline for wait4.
Revert "Add legacy inlines for locale aware APIs."
Dan Albert [Wed, 2 Nov 2016 19:55:12 +0000 (19:55 +0000)]
Merge "Copy the NOTICE file when updating headers."
am:
654287fd73
Change-Id: I403b67eaf69cf2942021628405b711ae4a2867a5
Treehugger Robot [Wed, 2 Nov 2016 19:48:42 +0000 (19:48 +0000)]
Merge "Copy the NOTICE file when updating headers."
Christopher Ferris [Tue, 1 Nov 2016 21:25:57 +0000 (14:25 -0700)]
Small cleanup of cortex-a15 code.
Remove new version of the cortex-a15 that caused a regression. We are never
going to revisit that code, and it is only confusing things.
Also remove the setting of MEMCPY_BASE and use the correct include
directly.
Test: Compiled angler with 32 bit arch as cortex-a15. Ran 32 bit bionic
Test: unit tests on angler.
Change-Id: I9372c01758fd7a596849c87b1a3f805bb477c94f
Dan Albert [Tue, 1 Nov 2016 03:12:03 +0000 (20:12 -0700)]
Add legacy inline for wait4.
This wasn't added to Android until android-18. Note that the reason
I'm adding an inline here even though I just reverted a bunch of
inlines in the previous commit is because this was an inline in the
legacy NDK headers. If it was in the old headers, it needs to be in
the unified headers. If it wasn't, it needs to be in
libandroid_support.
Test: ./tools/update_headers.py && make ndk && make native
# Copied into working directory for unified headers NDK work.
ndk/checkbuild.py
ndk/run_tests.py --force-unified-headers
Bug: None
Change-Id: I751520a1df34b3edb5c59b4bd47170c4634a1883
Dan Albert [Mon, 31 Oct 2016 23:20:47 +0000 (16:20 -0700)]
Revert "Add legacy inlines for locale aware APIs."
We can't really add these to the unified headers yet since we're
still using the old headers as well, and libandroid_support needs to
work with both. These functions are already defined in
libandroid_support, so when using unified headers we'll get duplicate
definitions.
This was only going to be a temporary solution anyway. Instead we'll
just rely on libandroid_support (and eventually its rewrite) to handle
these.
This reverts commit
6576a3749bd3805508294bfcac3d9658fc0f8d6e.
Test: ./tools/update_headers.py && make ndk && make native
# Copied into working directory for unified headers NDK work.
ndk/checkbuild.py
ndk/run_tests.py --force-unified-headers
Bug: None
Change-Id: I5762e815e2030c89d7f2540df08dd67b6c2d10a5
Dan Albert [Thu, 20 Oct 2016 19:45:03 +0000 (12:45 -0700)]
Copy the NOTICE file when updating headers.
Test: ./update_headers.sh
Bug: None
Change-Id: Ibde1e6d7ef1750d8369b65b3125b55023efb5b2a
Robert Sesek [Sat, 29 Oct 2016 02:17:27 +0000 (02:17 +0000)]
Merge "Fix gettid() after clone()."
am:
8c22ff76e2
Change-Id: I37f128b09378364e55388af2a20d086d1f8d8135
Treehugger Robot [Sat, 29 Oct 2016 02:09:55 +0000 (02:09 +0000)]
Merge "Fix gettid() after clone()."
Dimitry Ivanov [Fri, 28 Oct 2016 17:30:23 +0000 (17:30 +0000)]
Merge "Replace .align with .balign for clarity"
am:
9b908c8e36
Change-Id: I5fc066aa731043f395ef8f61b43015a1ea159c57
Treehugger Robot [Fri, 28 Oct 2016 17:23:48 +0000 (17:23 +0000)]
Merge "Replace .align with .balign for clarity"
Elliott Hughes [Fri, 28 Oct 2016 17:04:44 +0000 (10:04 -0700)]
Show amount of parallelism in gtest output.
Bug: http://b/
19075519
Test: ran tests
Change-Id: Ia190f728cc28e2283636e9cfea927e525d6c10c8
Robert Sesek [Tue, 25 Oct 2016 14:29:02 +0000 (10:29 -0400)]
Fix gettid() after clone().
The tid is cached in the pthread_internal_t and is properly re-set after fork()
and pthread_create(). But after a plain clone() the value is stale from the
parent.
Test: mmma bionic/tests
Test: bionic-unit-tests-static --gtest_filter=*fork*:*clone*
Test: m checkbuild tests
Test: angler boots
Bug:
32305649
Change-Id: I026d416d1537484cd3e05c8493a35e5ed2acc8ed
Elliott Hughes [Thu, 27 Oct 2016 23:16:21 +0000 (23:16 +0000)]
Merge "Use ENTRY_PRIVATE in __bionic_clone assembler."
am:
b1d98da378
Change-Id: I2ccfd6d66e7b46030697da935d2cdad2390874b3
Treehugger Robot [Thu, 27 Oct 2016 23:07:28 +0000 (23:07 +0000)]
Merge "Use ENTRY_PRIVATE in __bionic_clone assembler."
Dimitry Ivanov [Thu, 27 Oct 2016 09:32:47 +0000 (02:32 -0700)]
Replace .align with .balign for clarity
Test: run bionic-unit-tests
Change-Id: Icb43cc47e41d58fe3cb71986e05b3134022f895c
Xiaolei Yu [Tue, 25 Oct 2016 14:10:51 +0000 (22:10 +0800)]
Fix format macros for fast16 and fast32 int types.
Also change original format test to cover all cases.
Test: bionic unit tests
Change-Id: I2995145562c02918e0b596c008e63459912447ab
Elliott Hughes [Thu, 27 Oct 2016 00:01:32 +0000 (17:01 -0700)]
Use ENTRY_PRIVATE in __bionic_clone assembler.
Bug: N/A
Test: bionic tests
Change-Id: Ic651d628be009487a36d0b2e5bcf900b981b1ef9
Pirama Arumuga Nainar [Wed, 26 Oct 2016 17:41:36 +0000 (17:41 +0000)]
Merge "Make versioner build with LLVM r275480"
am:
7409b9cfed
Change-Id: I2a9653438248af262ee75e629f2d303505b2c30f
Pirama Arumuga Nainar [Wed, 26 Oct 2016 17:35:50 +0000 (17:35 +0000)]
Merge "Make versioner build with LLVM r275480"
Elliott Hughes [Wed, 26 Oct 2016 15:39:33 +0000 (15:39 +0000)]
Merge "_FILE_OFFSET_BITS=64's posix_fallocate should be posix_fallocate64."
am:
689ba18e11
Change-Id: I7e8c6b3e0d0430905731208073060701503aaee2
Elliott Hughes [Wed, 26 Oct 2016 15:33:11 +0000 (15:33 +0000)]
Merge "_FILE_OFFSET_BITS=64's posix_fallocate should be posix_fallocate64."
Elliott Hughes [Tue, 25 Oct 2016 21:13:32 +0000 (14:13 -0700)]
_FILE_OFFSET_BITS=64's posix_fallocate should be posix_fallocate64.
Bug: found when reproducing http://b/
32331571
Test: "toybox fallocate -l 3m /data/local/tmp/new" on LP32
Change-Id: I4ec5835813b9556d824a12ad650bdf55698ea539
Pirama Arumuga Nainar [Fri, 16 Sep 2016 23:56:15 +0000 (16:56 -0700)]
Make versioner build with LLVM r275480
Bug: http://b/
31320715
Test: tools/versioner/preupload.sh
Change-Id: Icdff19b214b2b26c60288e49d26a88f04df68ef0
Neil Fuller [Tue, 25 Oct 2016 08:33:50 +0000 (08:33 +0000)]
Merge "Update timezone data to 2016h."
am:
268b3d8878
Change-Id: I453e256647ff3ed90045d228db7287ac98f84308
Neil Fuller [Tue, 25 Oct 2016 08:28:11 +0000 (08:28 +0000)]
Merge "Update timezone data to 2016h."
Elliott Hughes [Tue, 25 Oct 2016 04:50:32 +0000 (04:50 +0000)]
Merge "Don't scan .swp files for copyright headers."
am:
e0baade272
Change-Id: I9c2371f5fcb4bd1369fbba47cf161eb7170f3db3
Treehugger Robot [Tue, 25 Oct 2016 04:43:19 +0000 (04:43 +0000)]
Merge "Don't scan .swp files for copyright headers."
Elliott Hughes [Tue, 25 Oct 2016 00:42:48 +0000 (00:42 +0000)]
Merge "The default locale "" should be a UTF-8 locale."
am:
5e6eb761fc
Change-Id: Idac1bf34e000047b714a41426362de7983cb4130
Elliott Hughes [Tue, 25 Oct 2016 00:34:42 +0000 (17:34 -0700)]
Don't scan .swp files for copyright headers.
These are binary files, so that's not a good idea.
Bug: N/A
Test: N/A
Change-Id: If5e98df4bbbbac8a15a953be043df7d05c2b409a
Treehugger Robot [Tue, 25 Oct 2016 00:33:43 +0000 (00:33 +0000)]
Merge "The default locale "" should be a UTF-8 locale."
Elliott Hughes [Mon, 24 Oct 2016 22:24:39 +0000 (22:24 +0000)]
Merge "Minor copyright header unification."
am:
ac96f6affc
Change-Id: Id39c91be36737c2e5b66416b91aa597a7318a9bc
Treehugger Robot [Mon, 24 Oct 2016 22:16:58 +0000 (22:16 +0000)]
Merge "Minor copyright header unification."
Elliott Hughes [Mon, 24 Oct 2016 21:50:31 +0000 (14:50 -0700)]
The default locale "" should be a UTF-8 locale.
"ls -q" (or "adb shell -tt ls") was mangling non-ASCII because mbrtowc
was returning multibyte characters as their individual bytes. This was
because toybox asks for "" rather than "C.UTF-8", and for some reason
we were interpreting that as "C" rather than "C.UTF-8".
Test: bionic tests, ls
Change-Id: Ic60e3b90cd5fe689e5489fad0d5d91062b9594ed
Elliott Hughes [Mon, 24 Oct 2016 19:53:17 +0000 (12:53 -0700)]
Minor copyright header unification.
Regenerating the NOTICE file the other day left me scratching my head at
various "how do they differ?" cases, resolved by this patch.
Test: N/A
Change-Id: I4230bfa1d7ec842a4b9fb8c73dd3b39443d74054
Neil Fuller [Fri, 21 Oct 2016 13:35:42 +0000 (14:35 +0100)]
Update timezone data to 2016h.
IANA update relating to the data as follows:
The 2016h release of the tz code and data is available. Its primary
motivation is to update to the new rules for Palestine, where 2016g
becomes incorrect starting about four hours from now (sorry, we
didn't get much notice). More generally, the 2016h release 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
Asia/Gaza and Asia/Hebron end DST on 2016-10-29 at 01:00, not
2016-10-21 at 00:00. (Thanks to Sharef Mustafa.) Predict that
future fall transitions will be on the last Saturday of October
at 01:00, which is consistent with predicted spring transitions
on the last Saturday of March. (Thanks to Tim Parenti.)
Changes to past time stamps
In Turkey, transitions in 1986-1990 were at 01:00 standard time
not at 02:00, and the spring 1994 transition was on March 20, not
March 27. (Thanks to Kıvanç Yazan.)
Changes to past and future time zone abbreviations
Asia/Colombo now uses numeric time zone abbreviations like "+0530"
instead of alphabetic ones like "IST" and "LKT". Various
English-language sources use "IST", "LKT" and "SLST", with no
working consensus. (Usage of "SLST" mentioned by Sadika
Sumanapala.)
Bug:
32320380
Test: Ran CtsLibcoreTestCases, CtsBionicTestCases and ICU tests
Change-Id: I0286e7feac65f43518741d9ae18960e1adb888fb
Dan Albert [Thu, 20 Oct 2016 22:17:10 +0000 (22:17 +0000)]
Merge changes from topic 'ndk-headers-licenses'
am:
bd839d100d
Change-Id: Ibd2a5c6aa6db6ea075b414b2e59cfbf2467218a1
Dan Albert [Thu, 20 Oct 2016 22:16:34 +0000 (22:16 +0000)]
Add license to ndk_headers modules.
am:
9259265fc2
Change-Id: I21df443051d380fb1154dd9c1589b58d2f88981b