OSDN Git Service
Christopher Ferris [Thu, 3 Nov 2016 22:52:22 +0000 (22:52 +0000)]
Merge "Small cleanup of cortex-a15 code." am:
aea8407ad5 am:
c11ea46290
am:
67a5e14c96
Change-Id: I31a80717cc3a92363111cb5e2b2a32167b11e424
Christopher Ferris [Thu, 3 Nov 2016 22:49:21 +0000 (22:49 +0000)]
Merge "Small cleanup of cortex-a15 code." am:
aea8407ad5
am:
c11ea46290
Change-Id: I95e592a873947e7bfd4f7a0c84251ee97fd29950
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."
Neil Fuller [Thu, 3 Nov 2016 09:54:08 +0000 (09:54 +0000)]
DO NOT MERGE : Update timezone data to 2016h.
am:
41e96c895b
Change-Id: I595f063aa40d9e188c5751fcbb79e292d598b621
Dan Albert [Wed, 2 Nov 2016 20:03:24 +0000 (20:03 +0000)]
Merge changes I751520a1,I5762e815 am:
42eb0b2555 am:
e3d863cb8d
am:
973589e9ff
Change-Id: I9a383f4c419851dba349cac30034b37b4ed6c13b
Dan Albert [Wed, 2 Nov 2016 20:03:19 +0000 (20:03 +0000)]
Add legacy inline for wait4. am:
e749abe9ab am:
ac1cebac48
am:
c9ca934f0c
Change-Id: I29fb29723888f27517296739011037c7563a1bbd
Dan Albert [Wed, 2 Nov 2016 20:03:14 +0000 (20:03 +0000)]
Revert "Add legacy inlines for locale aware APIs." am:
a3ce418ca6 am:
b9c48fe13c
am:
5cf284648d
Change-Id: Iaa7ecd79c231b46aa53985f78e5a78733f136c6c
Dan Albert [Wed, 2 Nov 2016 20:00:52 +0000 (20:00 +0000)]
Merge changes I751520a1,I5762e815 am:
42eb0b2555
am:
e3d863cb8d
Change-Id: I3051d7abaf6545324ffedc1da4fdab6c5a8a7849
Dan Albert [Wed, 2 Nov 2016 20:00:47 +0000 (20:00 +0000)]
Add legacy inline for wait4. am:
e749abe9ab
am:
ac1cebac48
Change-Id: I7cfb299876d5a5fe47c9f9f573889b5ebd99d5a7
Dan Albert [Wed, 2 Nov 2016 20:00:43 +0000 (20:00 +0000)]
Merge "Copy the NOTICE file when updating headers." am:
654287fd73 am:
7327a50d8e
am:
1d12908577
Change-Id: Idea610588895b3a4d20361842f98d919f23831df
Dan Albert [Wed, 2 Nov 2016 20:00:43 +0000 (20:00 +0000)]
Revert "Add legacy inlines for locale aware APIs." am:
a3ce418ca6
am:
b9c48fe13c
Change-Id: I90caaaa69ac4a72f8f676ca1195b45a08cf4bced
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)]
Merge "Copy the NOTICE file when updating headers." am:
654287fd73
am:
7327a50d8e
Change-Id: I3997d2a9022ab03fc76ce43363ab47518ad5333b
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:28:27 +0000 (02:28 +0000)]
Merge "Fix gettid() after clone()." am:
8c22ff76e2 am:
b690715225
am:
c71036ddf7
Change-Id: Id5539f157ca4087ad66e154ed68d60740e2a0559
Robert Sesek [Sat, 29 Oct 2016 02:23:27 +0000 (02:23 +0000)]
Merge "Fix gettid() after clone()." am:
8c22ff76e2
am:
b690715225
Change-Id: I5eaa4c2ba819c75d6ac916f894b5cdae38ead152
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:40:54 +0000 (17:40 +0000)]
Merge "Replace .align with .balign for clarity" am:
9b908c8e36 am:
e3a37f2c34
am:
8075178fa2
Change-Id: I12f4d5e561dfabede6bae3386ea5348bbb602106
Dimitry Ivanov [Fri, 28 Oct 2016 17:35:23 +0000 (17:35 +0000)]
Merge "Replace .align with .balign for clarity" am:
9b908c8e36
am:
e3a37f2c34
Change-Id: I5e092e288fbf3849b4aa1161ac007c4a8063a686
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"
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:25:22 +0000 (23:25 +0000)]
Merge "Use ENTRY_PRIVATE in __bionic_clone assembler." am:
b1d98da378 am:
49c3839105
am:
d81f0b7b48
Change-Id: Ic8d6a2e4fed1310b7792ad515d50957fcfcd922b
Elliott Hughes [Thu, 27 Oct 2016 23:20:51 +0000 (23:20 +0000)]
Merge "Use ENTRY_PRIVATE in __bionic_clone assembler." am:
b1d98da378
am:
49c3839105
Change-Id: Ibe436fcc804173c397b77faaf35dba9d124c2aed
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
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 18:04:46 +0000 (18:04 +0000)]
Merge "Make versioner build with LLVM r275480" am:
7409b9cfed am:
ea6ad4918a
am:
8a79f029df
Change-Id: I7c647b54a05baca3162374cda708a17dfd1b7309
Pirama Arumuga Nainar [Wed, 26 Oct 2016 17:52:46 +0000 (17:52 +0000)]
Merge "Make versioner build with LLVM r275480" am:
7409b9cfed
am:
ea6ad4918a
Change-Id: Ic6613975414cbe42a97a0e84beeec75e9f72a5c6
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:49:03 +0000 (15:49 +0000)]
Merge "_FILE_OFFSET_BITS=64's posix_fallocate should be posix_fallocate64." am:
689ba18e11 am:
daf75ad2ef
am:
47cbc2f8a9
Change-Id: I47a10ee9a081a57b27bed7d5a047d76df028f4bf
Elliott Hughes [Wed, 26 Oct 2016 15:44:33 +0000 (15:44 +0000)]
Merge "_FILE_OFFSET_BITS=64's posix_fallocate should be posix_fallocate64." am:
689ba18e11
am:
daf75ad2ef
Change-Id: I0098610d7d2d2e03884daac0e101103c996e2204
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:41:49 +0000 (08:41 +0000)]
Merge "Update timezone data to 2016h." am:
268b3d8878 am:
9b82c96351
am:
892df0a081
Change-Id: Id698a53ff3762702f98d9e0c8d35e6cad5e10c27
Neil Fuller [Fri, 21 Oct 2016 09:20:33 +0000 (10:20 +0100)]
DO NOT MERGE : 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: I83311227393a593e29ecb202255937c951c19ca1
Neil Fuller [Tue, 25 Oct 2016 08:37:49 +0000 (08:37 +0000)]
Merge "Update timezone data to 2016h." am:
268b3d8878
am:
9b82c96351
Change-Id: Id62f111af64e2658326b39db4c2090ab84c640cd
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:58:03 +0000 (04:58 +0000)]
Merge "Don't scan .swp files for copyright headers." am:
e0baade272 am:
4d05775fd2
am:
34998f2a59
Change-Id: Ic7955cb284680cf340927ee713aa6bc67adede55
Elliott Hughes [Tue, 25 Oct 2016 04:54:33 +0000 (04:54 +0000)]
Merge "Don't scan .swp files for copyright headers." am:
e0baade272
am:
4d05775fd2
Change-Id: I315511c4b91d171364a0cf2777800f4601f72747
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:49:48 +0000 (00:49 +0000)]
Merge "The default locale "" should be a UTF-8 locale." am:
5e6eb761fc am:
4a6b0906b5
am:
8dc6f22e93
Change-Id: I0cfd730654bd2fcec0b8aa336bf887aadd16c47a
Elliott Hughes [Tue, 25 Oct 2016 00:46:18 +0000 (00:46 +0000)]
Merge "The default locale "" should be a UTF-8 locale." am:
5e6eb761fc
am:
4a6b0906b5
Change-Id: If0dbb988ba6295d27da26fc554faaa778ca9d7b7
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:30:40 +0000 (22:30 +0000)]
Merge "Minor copyright header unification." am:
ac96f6affc am:
a2ae48d151
am:
f2104945dc
Change-Id: I20926ec28b248a243ddc36d5323673ac5fe1e108
Elliott Hughes [Mon, 24 Oct 2016 22:27:39 +0000 (22:27 +0000)]
Merge "Minor copyright header unification." am:
ac96f6affc
am:
a2ae48d151
Change-Id: Ic1fb474db3d7998c76b7c40e61e95189711ea723
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:23:44 +0000 (22:23 +0000)]
Merge changes from topic 'ndk-headers-licenses' am:
bd839d100d
am:
6bb06872c0
Change-Id: I2e4d2404e78656ce4d6988be47bd8670b770386c
Dan Albert [Thu, 20 Oct 2016 22:23:39 +0000 (22:23 +0000)]
Add license to ndk_headers modules. am:
9259265fc2
am:
af9e6be92e
Change-Id: Ie3572953e8408119935895e657567d80b076963f
Dan Albert [Thu, 20 Oct 2016 22:23:35 +0000 (22:23 +0000)]
One NOTICE file to rule them all. am:
c30862fdbc
am:
bcfd7b7bdd
Change-Id: Ib54fbe1169f2116cedc46197e04f9d2d7b886963
Dan Albert [Thu, 20 Oct 2016 22:22:42 +0000 (22:22 +0000)]
Merge "Update our notice files as a pre-upload step." am:
93a988debb
am:
214b9b48e5
Change-Id: Id37703516c2155081a06c1358e3d3d58fd1cb45a
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
Dan Albert [Thu, 20 Oct 2016 22:16:30 +0000 (22:16 +0000)]
One NOTICE file to rule them all.
am:
c30862fdbc
Change-Id: I0d6ee8f4b233f00268520804d751df99e5927cff
Dan Albert [Thu, 20 Oct 2016 22:15:42 +0000 (22:15 +0000)]
Merge "Update our notice files as a pre-upload step."
am:
93a988debb
Change-Id: I49b3c30853b617cc7ca848366e035f8d4d739f92
Treehugger Robot [Thu, 20 Oct 2016 22:12:39 +0000 (22:12 +0000)]
Merge changes from topic 'ndk-headers-licenses'
* changes:
Add license to ndk_headers modules.
One NOTICE file to rule them all.
Treehugger Robot [Thu, 20 Oct 2016 22:07:55 +0000 (22:07 +0000)]
Merge "Update our notice files as a pre-upload step."
Colin Cross [Thu, 20 Oct 2016 20:41:07 +0000 (20:41 +0000)]
Merge "Add missing host ldlibs" am:
94b428c80a
am:
bb7253aec0
Change-Id: I17bd3b150cea9968212f6dae70d6d8e366f5ac93
Colin Cross [Thu, 20 Oct 2016 20:33:35 +0000 (20:33 +0000)]
Merge "Add missing host ldlibs"
am:
94b428c80a
Change-Id: Ic27234126a63b2c3719170a17a70f5233e52dc9b
Colin Cross [Thu, 20 Oct 2016 20:26:09 +0000 (20:26 +0000)]
Merge "Add missing host ldlibs"
Dan Albert [Thu, 20 Oct 2016 19:51:04 +0000 (19:51 +0000)]
Merge "Fix stdin/stdout/stderr for pre-M." am:
edecce3ac2
am:
1ddc5cff70
Change-Id: Ibe9c141575538460c26772a8b067eb2f85783ced
Dan Albert [Thu, 20 Oct 2016 19:43:02 +0000 (19:43 +0000)]
Merge "Fix stdin/stdout/stderr for pre-M."
am:
edecce3ac2
Change-Id: I43fa5496c5be59aba6cd75777521b4b1b86da7ed
Treehugger Robot [Thu, 20 Oct 2016 19:34:56 +0000 (19:34 +0000)]
Merge "Fix stdin/stdout/stderr for pre-M."
Dan Albert [Thu, 20 Oct 2016 08:42:54 +0000 (01:42 -0700)]
Add license to ndk_headers modules.
Test: make ndk
Bug: None
Change-Id: I0e9a39def2be9cd81369843906f6d7c180d17045
Dan Albert [Thu, 20 Oct 2016 18:45:16 +0000 (11:45 -0700)]
One NOTICE file to rule them all.
Generate a single NOTICE file rather than one per library. All the
headers come from libc these days anyway.
Test: tools/update_notice.sh
Bug: None
Change-Id: I127da185fdabc2815042e19aea74c507ec108f46
Dan Albert [Thu, 20 Oct 2016 17:34:47 +0000 (10:34 -0700)]
Update our notice files as a pre-upload step.
Also updates the license files, since apparently they're out of date.
Test: repo upload --cbr .
Bug: None
Change-Id: Ic8d855a7ee5185c4933da699292868e02ef79531
Colin Cross [Thu, 20 Oct 2016 17:39:50 +0000 (10:39 -0700)]
Add missing host ldlibs
Host builds were compiling without -Wl,--no-undefined. Add missing
host ldlibs so that -Wl,--no-undefined can be added again.
Test: m -j host
Bug:
32305815
Change-Id: I456098775ead2bddae3e61c7055b2bde3f6b38ff
Dan Albert [Thu, 6 Oct 2016 22:46:45 +0000 (15:46 -0700)]
Fix stdin/stdout/stderr for pre-M.
This wasn't an array of pointers, it was an array of structs.
Unfortunately we need a complete type to index into the struct for
stdin/stdout/stderr, so add a phony struct that matches the size and
alignment of `struct __sFILE`. This property is guaranteed by the
static_asserts in libc/bionic/struct_file_test.cpp.
Test: mma
Bug: http://b/
30465923
Change-Id: I8ce851dd64a261703bb44f9b5cd23b7caff4dd68
Elliott Hughes [Thu, 20 Oct 2016 16:48:52 +0000 (16:48 +0000)]
Merge "Add regression test for b/
31938693." am:
6901ca2799
am:
91e16d4436
Change-Id: I2bf59fe0812cb3a433d754e1480d7f396887a49b
Elliott Hughes [Thu, 20 Oct 2016 16:40:52 +0000 (16:40 +0000)]
Merge "Add regression test for http://b/
31938693."
am:
6901ca2799
Change-Id: I08432c98bfae0bf087b01b4901aa982e1e21d3fe
Elliott Hughes [Thu, 20 Oct 2016 16:30:05 +0000 (16:30 +0000)]
Merge "Add regression test for http://b/
31938693."
Dimitry Ivanov [Thu, 20 Oct 2016 01:52:41 +0000 (01:52 +0000)]
Merge "Add test for libraries with textrels" am:
2a2b41038f
am:
49bad0e609
Change-Id: I9341653fa6b041b5ffb2ed81e6da6bd8b3c18918
Dimitry Ivanov [Thu, 20 Oct 2016 01:44:43 +0000 (01:44 +0000)]
Merge "Add test for libraries with textrels"
am:
2a2b41038f
Change-Id: I76f947bcf19e87834e048bff5d1057b04af4090a
Treehugger Robot [Thu, 20 Oct 2016 01:37:19 +0000 (01:37 +0000)]
Merge "Add test for libraries with textrels"
Elliott Hughes [Wed, 19 Oct 2016 23:02:31 +0000 (16:02 -0700)]
Add regression test for http://b/
31938693.
Bug: http://b/
31938693
Bug: https://code.google.com/p/android/issues/detail?id=225132
Test: this is a test
Change-Id: I858962a1dcd56d555a4836a7bfbdf92d5c3042f6
Elliott Hughes [Wed, 19 Oct 2016 21:32:46 +0000 (21:32 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks." am:
0759e7f5c1
am:
cb9b9781e3
Change-Id: I1a0914e4038f771ade14c4ed576307129076549a
Elliott Hughes [Wed, 19 Oct 2016 21:25:17 +0000 (21:25 +0000)]
Merge "Fix our _POSIX_* macros to declare barriers and spin locks."
am:
0759e7f5c1
Change-Id: I602b845f97ce26dbc22edff2124d075951eb941c
Dimitry Ivanov [Wed, 19 Oct 2016 18:00:28 +0000 (11:00 -0700)]
Add test for libraries with textrels
Make sure android fails to load them.
Bug: http://b/
30795430
Test: bionic-unit-tests --gtest_filter=dlfcn.dlopen_invalid*
Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsBionicTestCases
Change-Id: Id0ebdf336b2f297007479ceb1bbccf778a7ca3f2