OSDN Git Service
Chitti Babu Theegala [Thu, 12 Jan 2017 18:44:16 +0000 (18:44 +0000)]
Fix streaming(memcpy) performance on Cortex-A7
am:
b7ec7cac7d
Change-Id: Ie82fd9c00bf072252e6b5a3e42a36a01531bb489
Christopher Ferris [Thu, 12 Jan 2017 18:44:13 +0000 (18:44 +0000)]
Add cortex-a7 specific routines.
am:
8402b42312 -s ours
Change-Id: I4e2e7919270dc41365a64c4afa2f1d923b9407bb
Josh Gao [Thu, 12 Jan 2017 00:14:54 +0000 (00:14 +0000)]
Merge "Improve fmemopen tests." am:
27fa754287
am:
bbacec3f5d
Change-Id: I9a4fd254094c06efa21a0808b3c2ae73bfcc9e97
Josh Gao [Thu, 12 Jan 2017 00:09:24 +0000 (00:09 +0000)]
Merge "Improve fmemopen tests."
am:
27fa754287
Change-Id: Ie62d2d2850fc4dee566317d5e0fcde54693694a1
Chitti Babu Theegala [Thu, 15 Dec 2016 20:43:28 +0000 (02:13 +0530)]
Fix streaming(memcpy) performance on Cortex-A7
Stream-mode detection for L1 in A7-core is failing for
non cache-line-size (non 64 byte) aligned addresses.
This leads to destination data getting cached unnecessarily.
This A7 issue is confirmed by ARM
This issue is solved by aligning destination address to 64 byte before
entering the loop in memcpy routine.
Though we get lower score for micro_bench memcpy when L1 cache is bypassed,
it is desirable since it avoids unnecessary eviction of other process data
from L1 which is good for overall system performance.
Higher micro_bench memcpy numbers for < 64byte alignment shows good numbers
but this is at the cost of L1 cache pollution. During memcpy/memset,
unnecessary data is filled in L1 cache, this causes eviction of other
process data from L1.
For example during msmset(0), L1 cache gets filled with 0s which should be
avoided.
Additionally, there is another issue with cortex A7 that impacts performance
for all alignments / all Android Wear versions:
Store Buffer on A7 is 32 byte which limits the 32-byte back to back stores.
In the current implementation back to back 32bytes writes is causing CPU stalls.
This issue can be solved by interleaved Loads and Stores.
This helps in avoiding CPU stalls during memcpy by utilizing efficiently the
A7 internal load and store buffers.
Bug:
31917556
Change-Id: Ie5f12f2bb5d86f627686730416279057e4f5f6d0
(cherry picked from commit
cbfdc7f9054e0bc8071aaf3a70afc00273a8a869)
Josh Gao [Wed, 11 Jan 2017 23:59:01 +0000 (23:59 +0000)]
Merge "Improve fmemopen tests."
Josh Gao [Wed, 11 Jan 2017 22:43:36 +0000 (22:43 +0000)]
Merge "Add support for expected failures to gtest runner." am:
94ea19895c
am:
6b767b91cc
Change-Id: I792f935c1e7571ad7ccd8c904fe0d310d6ae08ab
Josh Gao [Wed, 11 Jan 2017 22:38:08 +0000 (22:38 +0000)]
Merge "Add support for expected failures to gtest runner."
am:
94ea19895c
Change-Id: I91e4f3673d6715326a2f1a43937343e59e15048c
Treehugger Robot [Wed, 11 Jan 2017 22:32:17 +0000 (22:32 +0000)]
Merge "Add support for expected failures to gtest runner."
Josh Gao [Tue, 10 Jan 2017 21:00:37 +0000 (13:00 -0800)]
Improve fmemopen tests.
Tag fmemopen_NULL as a known failure, and make it reliably fail by
memsetting the buffer we read to.
Bug: http://b/
33251022
Test: bionic-unit-tests/bionic-unit-tests64 on bullhead
Test: bionic-unit-tests-glibc --gtest_filter="*memopen*"
Change-Id: I381783282359851c9de47146dafbb5a291960c2a
Dimitry Ivanov [Wed, 11 Jan 2017 02:08:21 +0000 (02:08 +0000)]
Merge "Hide __system_property_add/update, deprecate find_nth" am:
907fcc98b2
am:
ee062c3577
Change-Id: Ife3992252e7d979772126ee806fdd3f2957508a1
Dimitry Ivanov [Wed, 11 Jan 2017 02:03:20 +0000 (02:03 +0000)]
Merge "Hide __system_property_add/update, deprecate find_nth"
am:
907fcc98b2
Change-Id: I68bbcf32432de9dba91116faae981701e122dbaa
Treehugger Robot [Wed, 11 Jan 2017 01:57:56 +0000 (01:57 +0000)]
Merge "Hide __system_property_add/update, deprecate find_nth"
Dimitry Ivanov [Mon, 9 Jan 2017 19:05:52 +0000 (11:05 -0800)]
Hide __system_property_add/update, deprecate find_nth
These functions are supposed to be used only by the
property service.
__system_property_find_nth is deprecated and no longer part
of NDK. Call to this function will result in abort for apps
targeting Android O.
Bug: http://b/
34114501
Test: bionic-unit-tests --gtest_filter=prop*
Change-Id: I9846965bf248e2ddf45cd7b293618245bbd87145
Josh Gao [Tue, 10 Jan 2017 00:43:33 +0000 (16:43 -0800)]
Add support for expected failures to gtest runner.
Bug: http://b/
33251022
Test: manually added tests that unexpectedly failed
Test: bionic-unit-tests/bionic-unit-tests64 on bullhead
Change-Id: Ie9aef80014b9fd6512b68f0e42abc298732a9b6e
Christopher Ferris [Mon, 28 Nov 2016 19:09:49 +0000 (11:09 -0800)]
Add cortex-a7 specific routines.
Test: Changed angler target to use cortex-a7 and I compiled.
Test: Booted this version on angler and ran bionic-unit-tests.
Bug:
31917556
Change-Id: Ice7f6ea38a2569582161a8e659d7877918c1a45a
(cherry picked from commit
ecebb49ac636b90b3db48b7375c26c07c95fd104)
Christopher Ferris [Tue, 10 Jan 2017 18:52:51 +0000 (18:52 +0000)]
Merge "Fix streaming(memcpy) performance on Cortex-A7" am:
0625beb270
am:
7373d2ed3d
Change-Id: I9c1bdbab92815d05cb5bfd01bc930cb9a1523a5f
Christopher Ferris [Tue, 10 Jan 2017 18:47:45 +0000 (18:47 +0000)]
Merge "Fix streaming(memcpy) performance on Cortex-A7"
am:
0625beb270
Change-Id: I24340a1b7d9e93505abf517e4ecc24175c58a164
Christopher Ferris [Tue, 10 Jan 2017 18:41:14 +0000 (18:41 +0000)]
Merge "Fix streaming(memcpy) performance on Cortex-A7"
Elliott Hughes [Tue, 10 Jan 2017 01:28:05 +0000 (01:28 +0000)]
Merge "Revert "Revert "move android_ids into bionic""" am:
940d460f59
am:
5720f1d55f
Change-Id: I688a8f734e891724545b17f25b222b05e38a7f39
Elliott Hughes [Tue, 10 Jan 2017 01:27:57 +0000 (01:27 +0000)]
Revert "Revert "move android_ids into bionic"" am:
3f6eee9793
am:
45be5dfe98
Change-Id: I56b1f2a8c10310d4ac54b0cb8a18951be6ef8bba
Elliott Hughes [Tue, 10 Jan 2017 01:23:34 +0000 (01:23 +0000)]
Merge "Revert "Revert "move android_ids into bionic"""
am:
940d460f59
Change-Id: Id5e500e39cd544fab4398318ff48289764af1e59
Elliott Hughes [Tue, 10 Jan 2017 01:23:26 +0000 (01:23 +0000)]
Revert "Revert "move android_ids into bionic""
am:
3f6eee9793
Change-Id: I6a65710f926a76e48705fa4594f479f5d48df068
Elliott Hughes [Tue, 10 Jan 2017 01:15:29 +0000 (01:15 +0000)]
Merge "Revert "Revert "move android_ids into bionic"""
Elliott Hughes [Tue, 10 Jan 2017 00:53:50 +0000 (00:53 +0000)]
Merge "Dynamic linker errors should go to stderr." am:
74e1fe1cc0
am:
01a8e5bce3
Change-Id: Id029e9db75957d9d8572915f6122e81c5ac2bebb
Elliott Hughes [Tue, 10 Jan 2017 00:48:20 +0000 (00:48 +0000)]
Merge "Dynamic linker errors should go to stderr."
am:
74e1fe1cc0
Change-Id: I045e0116e73a69989e80d8bd281d38ee6c5112b9
Elliott Hughes [Tue, 10 Jan 2017 00:43:38 +0000 (00:43 +0000)]
Merge "Dynamic linker errors should go to stderr."
Elliott Hughes [Mon, 9 Jan 2017 22:39:44 +0000 (14:39 -0800)]
Dynamic linker errors should go to stderr.
Also add the missing \n to the end of the error.
Addresses review comment.
Bug: N/A
Test: manual
Change-Id: I7c997a71e6e02381d21ac762595ba90370db9d05
Elliott Hughes [Mon, 9 Jan 2017 22:38:12 +0000 (22:38 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable." am:
71952ef625
am:
87e114bb7f
Change-Id: Id3ea80a163a9000073ab6a1d74ca675f3078d7c7
Elliott Hughes [Mon, 9 Jan 2017 22:33:13 +0000 (22:33 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable."
am:
71952ef625
Change-Id: Ibb2940eef382fabce0c2c5252fe962c145f5be95
Elliott Hughes [Mon, 9 Jan 2017 22:26:34 +0000 (22:26 +0000)]
Merge "Exit rather than abort if asked to run a non-PIE executable."
Elliott Hughes [Mon, 9 Jan 2017 21:35:39 +0000 (21:35 +0000)]
Merge "Move to .md files for even trivial documentation." am:
39b6d59049
am:
f561edeade
Change-Id: If984fd9b2ea3d66b871b484314e79a6994ca5d6a
Elliott Hughes [Mon, 9 Jan 2017 21:30:38 +0000 (21:30 +0000)]
Merge "Move to .md files for even trivial documentation."
am:
39b6d59049
Change-Id: Ia1950ac9cf0eaa9ca19904ae54d2903471e77626
Elliott Hughes [Mon, 9 Jan 2017 21:23:00 +0000 (21:23 +0000)]
Merge "Move to .md files for even trivial documentation."
Elliott Hughes [Sat, 7 Jan 2017 20:47:28 +0000 (12:47 -0800)]
Move to .md files for even trivial documentation.
So it's automatically displayed for folks browsing the source.
Bug: N/A
Test: N/A
Change-Id: I80e823415f1fb12ad8ce5348e926519b6e29580f
Elliott Hughes [Sat, 7 Jan 2017 18:38:20 +0000 (10:38 -0800)]
Exit rather than abort if asked to run a non-PIE executable.
Each release we're asked to investigate tombstones from code that hasn't
been allowed to run on Android since L. This is just wasting our time,
and clearly the "obviousness" of aborting rather than exiting hasn't ensured
that all app developers rebuild their old binaries. In some cases it seems
like they run them "just in case" and don't care if they fail.
Bug: http://b/
34112178
Test: ran libsupervisor.so from com.ss.android.article.news
Change-Id: I8a3f196c4755601a3888281566fbb7b817f01dca
Dimitry Ivanov [Sat, 7 Jan 2017 04:07:15 +0000 (04:07 +0000)]
Merge "Fix bionic-unit-tests-static crash" am:
500b9be411
am:
1cfb85c199
Change-Id: Ic62ae01cc75b804ae3e04fbfd125dde9c536100f
Dimitry Ivanov [Sat, 7 Jan 2017 04:03:15 +0000 (04:03 +0000)]
Merge "Fix bionic-unit-tests-static crash"
am:
500b9be411
Change-Id: I98d7587228db28d920354f925b0d20e3734838df
Treehugger Robot [Sat, 7 Jan 2017 03:59:14 +0000 (03:59 +0000)]
Merge "Fix bionic-unit-tests-static crash"
Dimitry Ivanov [Fri, 6 Jan 2017 22:49:57 +0000 (14:49 -0800)]
Fix bionic-unit-tests-static crash
The crash happens because for static executables call to dlopen
results in crash. This change moves dlopen() == nullptr check
from static variable to a functions so that the dlopen crash only
affects tests calling dlopen but not the whole executable.
Also make static tests report crashes to debugerd
Test: run bionic-unit-tests-static (for arm 32 and 64)
Bug: http://b/
34129417
Change-Id: I7c4d8caf2a43250234fe24496b1c95eab572769f
Nick Kralevich [Fri, 6 Jan 2017 22:03:21 +0000 (22:03 +0000)]
Merge "Make /dev/__properties__ 0711" am:
11798bcc35
am:
7d7e4a6955
Change-Id: I417801d251da1d8740cc70a0f9142de7ca98a829
Nick Kralevich [Fri, 6 Jan 2017 21:59:19 +0000 (21:59 +0000)]
Merge "Make /dev/__properties__ 0711"
am:
11798bcc35
Change-Id: I4c418dd0567013b003541977f5b2f97a35ac29e3
Treehugger Robot [Fri, 6 Jan 2017 21:53:05 +0000 (21:53 +0000)]
Merge "Make /dev/__properties__ 0711"
Nick Kralevich [Fri, 6 Jan 2017 20:04:29 +0000 (12:04 -0800)]
Make /dev/__properties__ 0711
Don't allow processes to read the contents of the directory
/dev/__properties__. This is an implementation detail of the properties
system that processes shouldn't be concerned with.
Test: Device boots and no problems reading individual properties.
Test: ls -la /dev/__properties__ fails
Change-Id: I00130fe4529525935654bff91e3cc59253b86e26
Josh Gao [Fri, 6 Jan 2017 00:54:13 +0000 (00:54 +0000)]
Merge "Add declaration of tgkill to signal.h." am:
d26267b8b9
am:
f3847eb2d7
Change-Id: I334c6731594b92788fb6045107b34bc4a7182b68
Josh Gao [Fri, 6 Jan 2017 00:50:46 +0000 (00:50 +0000)]
Merge "Add declaration of tgkill to signal.h."
am:
d26267b8b9
Change-Id: I398886a42d4d3d72b430159ac9c6dcaee5e26d09
Treehugger Robot [Fri, 6 Jan 2017 00:44:17 +0000 (00:44 +0000)]
Merge "Add declaration of tgkill to signal.h."
Josh Gao [Thu, 5 Jan 2017 21:22:26 +0000 (13:22 -0800)]
Add declaration of tgkill to signal.h.
Expose a useful function that we've had since Jelly Bean.
Bug: http://b/
34111810
Test: TreeHugger
Change-Id: Iaf3097f224c09b533f36050cf21394ba148007ad
Dimitry Ivanov [Tue, 3 Jan 2017 18:20:14 +0000 (18:20 +0000)]
Merge "Downgrade dynamic section checks to warning" am:
fb07c36bc0
am:
131e51ad82
Change-Id: If0204cc1cf335d8d2b9e4c975fccb71aae42bb3d
Dimitry Ivanov [Tue, 3 Jan 2017 18:12:14 +0000 (18:12 +0000)]
Merge "Downgrade dynamic section checks to warning"
am:
fb07c36bc0
Change-Id: I84efe43a93ae0689492ddf229c52e6710e00bc4a
Dimitry Ivanov [Tue, 3 Jan 2017 18:03:04 +0000 (18:03 +0000)]
Merge "Downgrade dynamic section checks to warning"
Dimitry Ivanov [Thu, 29 Dec 2016 00:21:49 +0000 (16:21 -0800)]
Downgrade dynamic section checks to warning
For apps targeting pre-O releases print warn about
invalid dynamic section.
Bug: http://b/
33842263
Test: Start an app in question and check logs for warning.
Test: Run bionic-unit-test --gtest_filter=dl*:Dl*
Change-Id: I80bd51f2133b956fc04e20a6538cccd50118c1b8
Chitti Babu Theegala [Thu, 15 Dec 2016 20:43:28 +0000 (02:13 +0530)]
Fix streaming(memcpy) performance on Cortex-A7
Stream-mode detection for L1 in A7-core is failing for
non cache-line-size (non 64 byte) aligned addresses.
This leads to destination data getting cached unnecessarily.
This A7 issue is confirmed by ARM
This issue is solved by aligning destination address to 64 byte before
entering the loop in memcpy routine.
Though we get lower score for micro_bench memcpy when L1 cache is bypassed,
it is desirable since it avoids unnecessary eviction of other process data
from L1 which is good for overall system performance.
Higher micro_bench memcpy numbers for < 64byte alignment shows good numbers
but this is at the cost of L1 cache pollution. During memcpy/memset,
unnecessary data is filled in L1 cache, this causes eviction of other
process data from L1.
For example during msmset(0), L1 cache gets filled with 0s which should be
avoided.
Additionally, there is another issue with cortex A7 that impacts performance
for all alignments / all Android Wear versions:
Store Buffer on A7 is 32 byte which limits the 32-byte back to back stores.
In the current implementation back to back 32bytes writes is causing CPU stalls.
This issue can be solved by interleaved Loads and Stores.
This helps in avoiding CPU stalls during memcpy by utilizing efficiently the
A7 internal load and store buffers.
Change-Id: Ie5f12f2bb5d86f627686730416279057e4f5f6d0
Josh Gao [Fri, 16 Dec 2016 22:34:27 +0000 (22:34 +0000)]
Merge "versioner: start using C++17." am:
c816e9fa03
am:
73c9ecd00d
Change-Id: Ieee9af909db86141030204dff09e780e56be7a00
Josh Gao [Fri, 16 Dec 2016 22:25:27 +0000 (22:25 +0000)]
Merge "versioner: start using C++17."
am:
c816e9fa03
Change-Id: Ie148482169ab9cfae841a94b95b8266c520a45e6
Josh Gao [Fri, 16 Dec 2016 22:12:36 +0000 (22:12 +0000)]
Merge "versioner: start using C++17."
Jeff Sharkey [Thu, 15 Dec 2016 23:14:36 +0000 (23:14 +0000)]
Merge "Define range of GIDs for cached app data." am:
54891837a0
am:
ce7c613609
Change-Id: I564b6d18344325ff1e801590790d3813de269ad4
Colin Cross [Thu, 15 Dec 2016 23:14:19 +0000 (23:14 +0000)]
Merge "Convert versioner to Android.bp" am:
f7e793ef7f
am:
b508d37936
Change-Id: I257060f1bb6c5e97bb92ce7db3291e9e7321807d
Josh Gao [Thu, 15 Dec 2016 21:56:00 +0000 (13:56 -0800)]
versioner: start using C++17.
Bug: None
Test: python run_tests.py
Change-Id: I10101d26b7816a83445f25b33b97ed47d42fd135
Jeff Sharkey [Thu, 15 Dec 2016 21:52:00 +0000 (21:52 +0000)]
Merge "Define range of GIDs for cached app data."
am:
54891837a0
Change-Id: I950bcf47451a474f89371d8124e833f0a4feea40
Jeff Sharkey [Thu, 15 Dec 2016 21:46:30 +0000 (21:46 +0000)]
Merge "Define range of GIDs for cached app data."
Colin Cross [Thu, 15 Dec 2016 21:22:57 +0000 (21:22 +0000)]
Merge "Convert versioner to Android.bp"
am:
f7e793ef7f
Change-Id: I769e872a36fad4f47b2be026bed740e0330e67b4
Treehugger Robot [Thu, 15 Dec 2016 21:16:04 +0000 (21:16 +0000)]
Merge "Convert versioner to Android.bp"
Colin Cross [Wed, 7 Dec 2016 19:24:06 +0000 (11:24 -0800)]
Convert versioner to Android.bp
See build/soong/README.md for more information.
Test: mma -j
Change-Id: I0e648143ac480c1257d9829f9b9087ee22005855
Dimitry Ivanov [Thu, 15 Dec 2016 18:41:43 +0000 (18:41 +0000)]
Merge "Add test for elf-hash and packed relocations" am:
59dd61573f
am:
488eac109b
Change-Id: Id697ca86ba1a62e9163b767578535633b57cafd1
Dimitry Ivanov [Thu, 15 Dec 2016 18:41:16 +0000 (18:41 +0000)]
Merge "Add test for empty symbol lookup" am:
22ef13ff9d
am:
c0c74cb7dd
Change-Id: Ia51b0d333f381996cad50a1223805b4cc80377e2
Dimitry Ivanov [Thu, 15 Dec 2016 18:34:11 +0000 (18:34 +0000)]
Merge "Add test for elf-hash and packed relocations"
am:
59dd61573f
Change-Id: I8d5071cbf4de4add626aeecf8b9a08643de63c39
Dimitry Ivanov [Thu, 15 Dec 2016 18:33:46 +0000 (18:33 +0000)]
Merge "Add test for empty symbol lookup"
am:
22ef13ff9d
Change-Id: I5c58192b8a06968360f3e54461064e4aa73cc18f
Dimitry Ivanov [Thu, 15 Dec 2016 18:27:22 +0000 (18:27 +0000)]
Merge "Add test for elf-hash and packed relocations"
Dimitry Ivanov [Thu, 15 Dec 2016 18:26:51 +0000 (18:26 +0000)]
Merge "Add test for empty symbol lookup"
Elliott Hughes [Thu, 15 Dec 2016 06:31:02 +0000 (06:31 +0000)]
Merge "Make the __stack_chk_fail message more searchable on the internets." am:
a1d32f95c3
am:
153ebb4557
Change-Id: Ic74ce9166627c15df7792db5c3468844b2c2148f
Elliott Hughes [Thu, 15 Dec 2016 06:23:30 +0000 (06:23 +0000)]
Merge "Make the __stack_chk_fail message more searchable on the internets."
am:
a1d32f95c3
Change-Id: I46d1bb6c1d8424882d1d89550c3b9d081f4c5ddc
Treehugger Robot [Thu, 15 Dec 2016 06:15:41 +0000 (06:15 +0000)]
Merge "Make the __stack_chk_fail message more searchable on the internets."
Elliott Hughes [Thu, 15 Dec 2016 01:30:07 +0000 (17:30 -0800)]
Make the __stack_chk_fail message more searchable on the internets.
Noticed while writing documentation:
https://source.android.com/devices/tech/debug/
Bug: http://b/
28746168
Test: crasher
Change-Id: Ied1c1b1c75a85a899f07e6927134b9bf91316fe4
Dimitry Ivanov [Thu, 15 Dec 2016 00:17:09 +0000 (00:17 +0000)]
Merge "Document bionic loader logging properties" am:
a7aac1bf9a
am:
9d0e1eca71
Change-Id: Iaf344992ceeab852642b32abc3d336f0237ed958
Dimitry Ivanov [Thu, 15 Dec 2016 00:10:07 +0000 (00:10 +0000)]
Merge "Document bionic loader logging properties"
am:
a7aac1bf9a
Change-Id: I6492960b81c7317819bad0f09e94912ab2ba3fb5
Treehugger Robot [Thu, 15 Dec 2016 00:05:26 +0000 (00:05 +0000)]
Merge "Document bionic loader logging properties"
Dimitry Ivanov [Wed, 14 Dec 2016 23:48:06 +0000 (23:48 +0000)]
Merge "Add a way to track all dlsym calls (contd.)" am:
70e3f0c3bf
am:
0f5e653e92
Change-Id: Ib9b88bc1aadc7a56e0b7a8f868c77b03b9acfc66
Dimitry Ivanov [Wed, 14 Dec 2016 23:40:35 +0000 (23:40 +0000)]
Merge "Add a way to track all dlsym calls (contd.)"
am:
70e3f0c3bf
Change-Id: Ia577eb8880b14ff1d85a551da2f4bf3f06f92264
Treehugger Robot [Wed, 14 Dec 2016 23:30:06 +0000 (23:30 +0000)]
Merge "Add a way to track all dlsym calls (contd.)"
Dimitry Ivanov [Wed, 14 Dec 2016 23:16:56 +0000 (15:16 -0800)]
Add test for empty symbol lookup
Check that dlsym(handle, "") fails.
Bug: http://b/
33530622
Test: bionic-unit-tests --gtest_filter=dlfcn*
Test: bionic-unit-tests-glibc --gtest_filter=dlfcn*
Change-Id: Iae572bd1d9b798be619c5018de2a5450bf37977e
Dimitry Ivanov [Wed, 14 Dec 2016 22:42:44 +0000 (14:42 -0800)]
Document bionic loader logging properties
Bug: http://b/
29458203
Test: spellchecker in vim
Change-Id: I81e60a09fa256110d7ab9b530e7821ae66e8f020
Dimitry Ivanov [Wed, 14 Dec 2016 22:30:37 +0000 (14:30 -0800)]
Add a way to track all dlsym calls (contd.)
The followup for
4742abdcb52f16120016a5005c466230d4c46341
Changes in this file got lost in the process of cherry-picking
the change across repositories.
Bug: http://b/
29458203
Test: flash, set debug.ld.all to dlsym and check
if there are messages in logcat
Change-Id: I4613908e46e75c5d9ec66396767f10fc6d3e9777
Elliott Hughes [Wed, 14 Dec 2016 22:07:30 +0000 (22:07 +0000)]
Merge "Fix an obsolete comment." am:
1adb683447
am:
58646b53b7
Change-Id: Ia7254ff57a4f318bb0bed542ed09ba661e153f45
Elliott Hughes [Wed, 14 Dec 2016 22:00:28 +0000 (22:00 +0000)]
Merge "Fix an obsolete comment."
am:
1adb683447
Change-Id: I6c69db6efc68e49ab6936fcd2f1d32e76287ac1a
Elliott Hughes [Wed, 14 Dec 2016 21:50:32 +0000 (21:50 +0000)]
Merge "Fix an obsolete comment."
Elliott Hughes [Wed, 14 Dec 2016 20:43:30 +0000 (12:43 -0800)]
Fix an obsolete comment.
280236537e06c7accaffabf8fb407f93dd1c834f factored the pthread types out
so that they could be in both <sys/types.h> and <pthread.h>.
Bug: N/A
Test: builds
Change-Id: Ie649c938ec8be1c59a0e4ef777f425550f8d4539
Dimitry Ivanov [Mon, 21 Nov 2016 20:50:38 +0000 (12:50 -0800)]
Add test for elf-hash and packed relocations
This adds CTS test for system libraries to support
workaround for http://b/
24465209: some apps require
a subset of system libs to have elf-hash and not to
use packed relocations.
Bug: http://b/
32917341
Bug: http://b/
24465209
Test: bionic-unit-tests --gtest_filter=Dl*:dl*
Change-Id: Ia0bc28506b1f1f97d4cf902d73b0769e2815fed3
Elliott Hughes [Wed, 14 Dec 2016 16:44:39 +0000 (16:44 +0000)]
Merge "Update socket constants." am:
cb0134d96e
am:
72f259ac6f
Change-Id: Ie45ea13d264f876939f95ac76a2bdba1b2331e53
Elliott Hughes [Wed, 14 Dec 2016 16:37:38 +0000 (16:37 +0000)]
Merge "Update socket constants."
am:
cb0134d96e
Change-Id: Ic98fbc1d9e6ad39492d413d15689cbc9f1dbb77c
Elliott Hughes [Wed, 14 Dec 2016 16:28:24 +0000 (16:28 +0000)]
Merge "Update socket constants."
Christopher Ferris [Tue, 13 Dec 2016 23:53:47 +0000 (23:53 +0000)]
Merge "Update to kernel headers v4.8.14." am:
f27e97956d
am:
3ec2701f0c
Change-Id: I91e4e095bae01675698e5514c00e19896055c51d
Christopher Ferris [Tue, 13 Dec 2016 23:47:46 +0000 (23:47 +0000)]
Merge "Update to kernel headers v4.8.14."
am:
f27e97956d
Change-Id: Ia857d26c0ed664157d1d1728764ea3c9d68cc64b
Elliott Hughes [Tue, 13 Dec 2016 23:47:25 +0000 (23:47 +0000)]
Revert "Revert "move android_ids into bionic""
This reverts commit
77cb68d9f2621639ec7f4e1b124ceeee5c80a66a.
Change-Id: Ibc9f775c4cd418be90fd8a6f192dd72ca5dff09a
Christopher Ferris [Tue, 13 Dec 2016 23:40:00 +0000 (23:40 +0000)]
Merge "Update to kernel headers v4.8.14."
Elliott Hughes [Tue, 13 Dec 2016 23:29:58 +0000 (15:29 -0800)]
Update socket constants.
This corresponds to Linux 4.10.
Bug: N/A
Test: builds
Change-Id: Ia7135c9fec181613b79726d1b16867133cdefd04
Christopher Ferris [Tue, 13 Dec 2016 23:27:41 +0000 (23:27 +0000)]
Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings" am:
8b3e812684
am:
24dae7f57c
Change-Id: I556841ceac287f0a02746f23e6a30c436d0143b9
Christopher Ferris [Tue, 13 Dec 2016 23:21:10 +0000 (23:21 +0000)]
Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings"
am:
8b3e812684
Change-Id: Ib2f1102f7bce8584fcd478d0d3ef1c285ba011ba
Christopher Ferris [Tue, 13 Dec 2016 23:11:27 +0000 (23:11 +0000)]
Merge "libc: ARM64: update memset/strlen/memcpy/memmove to newlib/cortex-strings"
Elliott Hughes [Tue, 13 Dec 2016 23:07:51 +0000 (23:07 +0000)]
Merge "Remove BSD cruft from <pwd.h>." am:
9438a648eb
am:
6890799937
Change-Id: Icf01428e52890b3e08694c600242ef4be9097742