OSDN Git Service
Dimitry Ivanov [Fri, 18 Nov 2016 00:27:43 +0000 (00:27 +0000)]
Merge "Improve dlerror_concurrent test"
am:
ada292531e
Change-Id: I7f33d654dafc319305edabf44b6bc43b3aa6eb6b
Treehugger Robot [Fri, 18 Nov 2016 00:07:41 +0000 (00:07 +0000)]
Merge "Improve dlerror_concurrent test"
Dimitry Ivanov [Thu, 17 Nov 2016 20:38:09 +0000 (12:38 -0800)]
Improve dlerror_concurrent test
Add a test to check if result is thread-local, not only buffer.
Test: run bionic-unit-tests
Change-Id: Ia95f88c0d76aa86f7f439836393abd67a57dd396
Christopher Ferris [Thu, 17 Nov 2016 20:14:21 +0000 (20:14 +0000)]
Merge "Fix iswlower/iswupper."
am:
a5c16983a6
Change-Id: I9e00bcfdb4365f7a4438570181deead6e371df12
Christopher Ferris [Thu, 17 Nov 2016 20:06:05 +0000 (20:06 +0000)]
Merge "Fix iswlower/iswupper."
Dimitry Ivanov [Thu, 17 Nov 2016 05:30:26 +0000 (05:30 +0000)]
Merge "Relax ELF header checks - warn for apps targeting pre-O"
am:
3613c20c59
Change-Id: Ib5757e7b2821529f02e1fc972a42cd86f202974d
Dimitry Ivanov [Thu, 17 Nov 2016 05:21:41 +0000 (05:21 +0000)]
Merge "Relax ELF header checks - warn for apps targeting pre-O"
Dimitry Ivanov [Thu, 17 Nov 2016 02:58:18 +0000 (02:58 +0000)]
Merge "Remove unused includes/externals"
am:
585838ba32
Change-Id: I2d7496310bd64822a90f9cb3dca2ba27ce24b00e
Treehugger Robot [Thu, 17 Nov 2016 02:48:41 +0000 (02:48 +0000)]
Merge "Remove unused includes/externals"
Elliott Hughes [Thu, 17 Nov 2016 02:43:18 +0000 (02:43 +0000)]
Merge "Add and use constants for the Android API levels."
am:
60ba60dd25
Change-Id: I83b38008d8ba734b303cae6b270534ee11afebe6
Dimitry Ivanov [Wed, 16 Nov 2016 20:29:37 +0000 (12:29 -0800)]
Relax ELF header checks - warn for apps targeting pre-O
Bug: http://b/
32581440
Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: I2fe356c67eb9665c671758117679a29b207219e4
Treehugger Robot [Thu, 17 Nov 2016 02:37:37 +0000 (02:37 +0000)]
Merge "Add and use constants for the Android API levels."
Dimitry Ivanov [Thu, 17 Nov 2016 01:04:40 +0000 (01:04 +0000)]
Merge "Add original prebuilt test libraries"
am:
2880754368
Change-Id: I80a1c62d81baf96256d8901059026f8b18ea13fc
Elliott Hughes [Wed, 16 Nov 2016 19:35:43 +0000 (11:35 -0800)]
Add and use constants for the Android API levels.
Test: bionic tests still pass
Change-Id: If1b619cfc9db1d3f5d91f14f2ace71058dca0c4a
Dimitry Ivanov [Thu, 17 Nov 2016 00:52:40 +0000 (00:52 +0000)]
Merge "Add original prebuilt test libraries"
Dimitry Ivanov [Wed, 16 Nov 2016 23:23:37 +0000 (15:23 -0800)]
Remove unused includes/externals
Test: mm
Change-Id: I4b88602b7d0a18664cbeddfa9854e589c2886e1a
Elliott Hughes [Wed, 16 Nov 2016 23:19:08 +0000 (15:19 -0800)]
Fix iswlower/iswupper.
The previous conditions were just plain wrong.
Test: bionic tests
Change-Id: Ia6d98207b1ff98ea4c6f619912e4bcdb8a7fdd24
Dimitry Ivanov [Wed, 16 Nov 2016 21:41:36 +0000 (13:41 -0800)]
Add original prebuilt test libraries
This is the library used to produce invalid prebuilt libraries
for loader tests.
Bug: http://b/
30795430
Test: not necessary - these are added for reference
Change-Id: I06e681bf826e59a76da9b49d84d26dee34920d49
Elliott Hughes [Wed, 16 Nov 2016 19:08:28 +0000 (19:08 +0000)]
Merge "Downgrade W+E load segments to a warning unless targeting O."
am:
8945d5e43a
Change-Id: I9e3c5b16ed24ec263519435c43e18b9e700238b7
Christopher Ferris [Wed, 16 Nov 2016 19:08:15 +0000 (19:08 +0000)]
Merge "Fix uninitialized variable usage."
am:
bd15515cfc
Change-Id: I8822c72b24572a07ef4c813df8b750cf8428e4b8
Elliott Hughes [Wed, 16 Nov 2016 19:04:17 +0000 (19:04 +0000)]
Merge "Downgrade W+E load segments to a warning unless targeting O."
Christopher Ferris [Wed, 16 Nov 2016 18:59:02 +0000 (18:59 +0000)]
Merge "Fix uninitialized variable usage."
Christopher Ferris [Tue, 15 Nov 2016 22:04:16 +0000 (14:04 -0800)]
Fix uninitialized variable usage.
If the dladdr call fails, then info.dli_fname will be unitialized.
Make sure that this can't happen.
Bug:
32907235
Test: Enabled malloc debug on an angler and verified that function names
Test: still work.
Change-Id: I738e66d9f37bce07bc4c10f1f9bac11fbfdae2c7
Martijn Coenen [Wed, 16 Nov 2016 09:59:31 +0000 (09:59 +0000)]
Merge "Fix deprecated range_x() calls."
am:
7afafce831
Change-Id: Ie930f4ebc7167b755bdea3cd6c9535f90ebcfa08
Martijn Coenen [Wed, 16 Nov 2016 09:48:30 +0000 (09:48 +0000)]
Merge "Fix deprecated range_x() calls."
Wei Wang [Wed, 16 Nov 2016 03:32:20 +0000 (03:32 +0000)]
Merge "Fix getrandom syscall checking"
am:
5a073a18f3
Change-Id: I0300bdb1257c77c8c5820f9bef19932d99fe5632
Treehugger Robot [Wed, 16 Nov 2016 03:23:43 +0000 (03:23 +0000)]
Merge "Fix getrandom syscall checking"
Elliott Hughes [Wed, 16 Nov 2016 00:54:16 +0000 (16:54 -0800)]
Downgrade W+E load segments to a warning unless targeting O.
I don't think we're getting any value from more dupes of the same dodgy
middleware, and I worry that we're hiding other, more subtle, compatibility
issues behind this one.
Test: bionic tests
Change-Id: I556cf36eac96c90976bae32621d1c133bbb8fcc7
Wei Wang [Wed, 16 Nov 2016 00:42:53 +0000 (16:42 -0800)]
Fix getrandom syscall checking
Test: angler
Bug:
32838381
(cherry-picked from commit
46289b4c0211fc48d8719b385a7e56d765510ebd)
Change-Id: I102ffa26d7f39a8d3572b31f04b66ae31a9e752c
Colin Cross [Tue, 15 Nov 2016 23:49:37 +0000 (23:49 +0000)]
Merge "Don't pack relocations in libc.so"
am:
d5aa03600e
Change-Id: I384080d14ca3415a4cf604d836161efaf58c9137
Colin Cross [Tue, 15 Nov 2016 23:38:01 +0000 (23:38 +0000)]
Merge "Don't pack relocations in libc.so"
Colin Cross [Tue, 15 Nov 2016 21:15:43 +0000 (13:15 -0800)]
Don't pack relocations in libc.so
Ic9125cc1bc4c9ba9eb20d030de72e3ce1fb86fa6 disabled relocation packing
in libc.so, but the flag was dropped when we switched to Android.bp
in Ib0ba2d28bff88483b505426ba61606da314e03ab.
Bug:
20645321
Bug:
20655855
Bug:
32750616
Test: builds
Test: inspect out/build-aosp_angler.ninja
Test: run app that crashes with packed libc.so
Change-Id: Ib0630f2e342afa543bb88303fec8f9695ac583e9
Elliott Hughes [Tue, 15 Nov 2016 19:23:51 +0000 (19:23 +0000)]
Merge "Differentiate the wctype functions we need to improve."
am:
f97b27a9c0
Change-Id: I078de2d9b7c8e58640c9d2847a88dbea970c893d
Elliott Hughes [Tue, 15 Nov 2016 19:04:25 +0000 (19:04 +0000)]
Merge "Differentiate the wctype functions we need to improve."
Martijn Coenen [Mon, 14 Nov 2016 13:16:08 +0000 (14:16 +0100)]
Fix deprecated range_x() calls.
Test: builds with new libbenchmark.
Change-Id: I91c0e5c1b5cf75b8e551f3c59d83ac9352817c4a
Josh Gao [Tue, 15 Nov 2016 01:03:00 +0000 (01:03 +0000)]
Merge changes I72d37b7c,I7d254a10,I2e967acf
am:
b3321c9614
Change-Id: Ibb764c5a1b0481b2402a0f584e5c6334378cf350
Josh Gao [Tue, 15 Nov 2016 01:02:59 +0000 (01:02 +0000)]
versioner: use a virtual filesystem for input files.
am:
78b8a1430d
Change-Id: I457fcb0d2a8bc421b776ab8f2d385844ccfa5218
Josh Gao [Tue, 15 Nov 2016 01:02:54 +0000 (01:02 +0000)]
versioner: cache -cc1 flags generated by the clang Driver.
am:
b5c496346f
Change-Id: Ied6670cbee3bbcf91c13f39be2e0eae68a692aee
Josh Gao [Tue, 15 Nov 2016 01:02:51 +0000 (01:02 +0000)]
versioner: refactor to use CompilerInstance directly.
am:
16016df79f
Change-Id: I142f75a381307b71c0893b04e943d65e0dbea844
Treehugger Robot [Tue, 15 Nov 2016 00:54:08 +0000 (00:54 +0000)]
Merge changes I72d37b7c,I7d254a10,I2e967acf
* changes:
versioner: use a virtual filesystem for input files.
versioner: cache -cc1 flags generated by the clang Driver.
versioner: refactor to use CompilerInstance directly.
Elliott Hughes [Mon, 14 Nov 2016 20:55:59 +0000 (12:55 -0800)]
Differentiate the wctype functions we need to improve.
Some of these are genuinely fine as-is.
Test: bionic tests still pass
Change-Id: Iab6d86d818dcc5857e7932a9effa04001195386f
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 09:00:41 +0000 (01:00 -0800)]
versioner: use a virtual filesystem for input files.
Use an InMemoryFileSystem to store and share input files across
compilations.
This improves the result of `time versioner` further, from:
versioner 109.12s user 17.43s system 2433% cpu 5.201 total
to:
versioner 112.20s user 1.38s system 2416% cpu 4.700 total
Bug: http://b/
32748936
Test: python run_tests.py
Change-Id: I72d37b7c30850b8399cc40338247700fe3e7b2f9
Josh Gao [Wed, 9 Nov 2016 06:21:31 +0000 (22:21 -0800)]
versioner: cache -cc1 flags generated by the clang Driver.
Profiling showed that majority of time spent by versioner was being
spent in the x86 and x86_64 driver statting random files in /usr/lib,
looking for a toolchain. Hardcode a list of per-target flags which
correspond to a subset of the ones generated by clang, and use those
instead of calling out to Driver.
This changes the result of `time versioner` from:
versioner 156.57s user 1180.08s system 4109% cpu 32.525 total
to:
versioner 109.12s user 17.43s system 2433% cpu 5.201 total
Bug: http://b/
32748936
Test: python run_tests.py
Change-Id: I7d254a105bf1a283cbba0546321b04e308e703d1
Josh Gao [Tue, 8 Nov 2016 02:27:16 +0000 (18:27 -0800)]
versioner: refactor to use CompilerInstance directly.
This will make it easier to switch over to a virtual filesystem,
which should drastically improve performance.
This also fixes an issue with warning/error reporting.
Bug: http://b/
32748936
Test: python run_tests.py
Change-Id: I2e967acf75db29c95f3a03f4f94cccd22c367ad5
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