OSDN Git Service
Jiyong Park [Fri, 19 May 2017 16:01:24 +0000 (01:01 +0900)]
linker: the global group is added to all built-in namespaces
With ld.config.txt, we now have multiple built-in namespaces other than
the default namespace. Libs (and their dependents) listed in LD_PRELOAD
must be visible to those additional namespaces as well.
This also adds a debugging only feature: path to the linker config file
can be customized via LD_CONFIG_FILE environment variable. This works
only for debuggable builds.
Bug:
38114603
Bug:
62815515
Test: 1. ./external/compiler-rt/lib/asan/scripts/asan_device_setup --lib
prebuilts/clang/host/linux-x86/clang-stable/lib64/clang/5.0/lib/linux
2. enable talkback shortcut
3. in the home screen, hold vol-up/down together
4. device does not reboots and talkback shortcut is toggled
Test: bionic-unit-tests and linker-unit-tests successful
Merged-In: I9a03591053f4a9caea82f0dcb23e7a3d324bb9bd
Change-Id: I9a03591053f4a9caea82f0dcb23e7a3d324bb9bd
(cherry picked from commit
02586a2a34e6acfccf359b94db840f422b6c0231)
Evgenii Stepanov [Wed, 2 Aug 2017 18:11:47 +0000 (18:11 +0000)]
Merge "Fix asan path translation loading a library twice." into oc-mr1-dev
Evgenii Stepanov [Thu, 27 Jul 2017 21:55:44 +0000 (14:55 -0700)]
Fix asan path translation loading a library twice.
An ASan binary may load a non-ASan library from /system if /data is not mounted yet.
A dlopen() call for the same library later, when /data/ is available, will translate the path and attempt to load
an ASan copy of the library from /data/asan/system. This way we may end up loading both ASan and non-ASan copies of
the library in the same process, which is a very bad thing.
This change adds a check for a loaded library with the non-translated real path before applying path translation.
Bug:
63622872
Test: hide/rename a library in /data/asan; dlopen; restore the library; dlopen; check that the library from /data/asan is NOT loaded.
Change-Id: I17060837f08dc3c665cab803dd89979d88f0a019
Elliott Hughes [Tue, 25 Jul 2017 19:23:40 +0000 (19:23 +0000)]
Make xfail passes not failures. am:
b09c4fc957
am:
9a1df36a07
Change-Id: I3b7b93492eab22e901ada3161771b132181a580b
Elliott Hughes [Tue, 25 Jul 2017 19:20:10 +0000 (19:20 +0000)]
Make xfail passes not failures.
am:
b09c4fc957
Change-Id: Ie5b2746ac6be0a140c1f15679038a95b33505d08
Elliott Hughes [Sat, 22 Jul 2017 01:51:06 +0000 (18:51 -0700)]
Make xfail passes not failures.
Bug: http://b/
63703384
Test: ran tests
(cherry picked from commit
93a89f84e4616070bccfc1c9c898b5e88f1c21d6)
Change-Id: I63dff7748cbc4b3c1822a16c8bb9c839d148695b
Dan Albert [Wed, 19 Jul 2017 05:52:48 +0000 (05:52 +0000)]
Merge "Add __RENAME_IF_FILE_OFFSET64." am:
0d6485eca4 am:
b2870803ba am:
0747ffb7a3
am:
6f6c1cf73c
Change-Id: Ie3ad8afc7d12ffcdedcefb7573dbcd988ca1e01d
Dan Albert [Wed, 19 Jul 2017 05:49:48 +0000 (05:49 +0000)]
Merge "Add __RENAME_IF_FILE_OFFSET64." am:
0d6485eca4 am:
b2870803ba
am:
0747ffb7a3
Change-Id: Ib2696d246a59cdb6b16c02b62109b570bd246d3c
Dan Albert [Wed, 19 Jul 2017 05:47:18 +0000 (05:47 +0000)]
Merge "Add __RENAME_IF_FILE_OFFSET64." am:
0d6485eca4
am:
b2870803ba
Change-Id: I7ff86b0bcb562d8aa50b330a66283f91dd181732
Dan Albert [Wed, 19 Jul 2017 05:44:25 +0000 (05:44 +0000)]
Merge "Add __RENAME_IF_FILE_OFFSET64."
am:
0d6485eca4
Change-Id: If9a663b7f780dc9b6c6031740940ab432d492f29
Treehugger Robot [Wed, 19 Jul 2017 05:37:13 +0000 (05:37 +0000)]
Merge "Add __RENAME_IF_FILE_OFFSET64."
dimitry [Tue, 18 Jul 2017 23:00:21 +0000 (23:00 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d am:
46dfffdc67 am:
43475fdae4 am:
ac62e82856 am:
1001ee78ba
am:
eba2e77eb6
Change-Id: I39233540d7e5d22552231a0050664d3d9f479e27
dimitry [Tue, 18 Jul 2017 23:00:05 +0000 (23:00 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d am:
46dfffdc67 am:
43475fdae4 am:
ac62e82856 am:
e3c809f863
am:
6c960cde6d
Change-Id: I7489adebbee754ebb4c25a89aab69bb1bac14f78
dimitry [Tue, 18 Jul 2017 22:45:43 +0000 (22:45 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d am:
46dfffdc67 am:
43475fdae4 am:
ac62e82856
am:
1001ee78ba
Change-Id: I83bab5c56d0319ed64aef16db86f44fceaac9fc3
dimitry [Tue, 18 Jul 2017 22:43:58 +0000 (22:43 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d am:
46dfffdc67 am:
43475fdae4 am:
ac62e82856
am:
e3c809f863
Change-Id: Ia52ceaf0609d026cfd9fa8459f159c9e2c82583a
dimitry [Tue, 18 Jul 2017 22:41:11 +0000 (22:41 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d am:
46dfffdc67 am:
43475fdae4
am:
ac62e82856
Change-Id: I85aa7c0068125a60238629fdb31b325e0eca49a3
dimitry [Tue, 18 Jul 2017 22:39:52 +0000 (22:39 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d am:
46dfffdc67 am:
43475fdae4
am:
ac62e82856
Change-Id: Ia52482412ae2c2a428c90f30c734ebdb2cad8a54
dimitry [Tue, 18 Jul 2017 22:37:42 +0000 (22:37 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d am:
46dfffdc67
am:
43475fdae4
Change-Id: Ia526ffd192f8830efcc5768c62d0758df2109da4
dimitry [Tue, 18 Jul 2017 22:30:40 +0000 (22:30 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44 am:
ee7deb734d
am:
46dfffdc67
Change-Id: I3a1e3dfa091c3e43c1e73700db6d6c9c686b54ef
dimitry [Tue, 18 Jul 2017 22:27:52 +0000 (22:27 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31 am:
2542cfdb44
am:
ee7deb734d
Change-Id: If8881fa07f5f050dc0c15af7177d003801dd0269
dimitry [Tue, 18 Jul 2017 22:24:09 +0000 (22:24 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971 am:
9bc88caa31
am:
2542cfdb44
Change-Id: Ie9bce8dfd0722e50026a0aa5d1d81c70725fcd28
dimitry [Tue, 18 Jul 2017 22:22:09 +0000 (22:22 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62 am:
8666246971
am:
9bc88caa31
Change-Id: I89d5e919ef7bc13df36df63baaeaff7517c0b962
dimitry [Tue, 18 Jul 2017 22:20:10 +0000 (22:20 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa am:
781c67bd62
am:
8666246971
Change-Id: Id6f8e6908119ba309f555501b6bab6181cf16bec
dimitry [Tue, 18 Jul 2017 22:18:14 +0000 (22:18 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326 am:
6cb0d4b2aa
am:
781c67bd62
Change-Id: I2da0ca80ec42389add7b786a66e9a8d4fdc83254
dimitry [Tue, 18 Jul 2017 22:15:17 +0000 (22:15 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours am:
3c77ef5326
am:
6cb0d4b2aa
Change-Id: I5a2b6fcb300b86ab15c2d8fe8cf253e5f2ce03b2
dimitry [Tue, 18 Jul 2017 22:11:40 +0000 (22:11 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0 am:
a5f74a4a80 -s ours
am:
3c77ef5326
Change-Id: I812f929ce4704bd374e9267aeecca957e1d92d5c
dimitry [Tue, 18 Jul 2017 22:05:09 +0000 (22:05 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670 am:
d6b25861d0
am:
a5f74a4a80 -s ours
Change-Id: Ic277a838f4c2c974aa37514bbd073413c117f8e5
dimitry [Tue, 18 Jul 2017 21:48:06 +0000 (21:48 +0000)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670
am:
d6b25861d0
Change-Id: If9f751cf09c6551aababec28b6100fd77c3b510d
TreeHugger Robot [Tue, 18 Jul 2017 19:55:09 +0000 (19:55 +0000)]
Merge "Remove weaker _POSIX_THREAD_PROCESS_SHARED test."
Elliott Hughes [Tue, 18 Jul 2017 18:36:12 +0000 (18:36 +0000)]
Merge "Document the intricacies of `_FILE_OFFSET_BITS=32` for LP32." am:
a571e9e748 am:
1498e806c9 am:
86c1846e23
am:
c022475d4f
Change-Id: Id2b92a2ff66c3122f0473666cdc8cf528548a5c2
Elliott Hughes [Tue, 18 Jul 2017 18:30:32 +0000 (18:30 +0000)]
Merge "Document the intricacies of `_FILE_OFFSET_BITS=32` for LP32." am:
a571e9e748 am:
1498e806c9
am:
86c1846e23
Change-Id: I50d6f2cf31dcbe0e7bce925ce7de71d148b24418
Elliott Hughes [Tue, 18 Jul 2017 18:26:00 +0000 (18:26 +0000)]
Merge "Document the intricacies of `_FILE_OFFSET_BITS=32` for LP32." am:
a571e9e748
am:
1498e806c9
Change-Id: I1c1e5df9917b56e9942858e76246bf8aa2e644d9
Elliott Hughes [Tue, 18 Jul 2017 18:20:11 +0000 (18:20 +0000)]
Merge "Document the intricacies of `_FILE_OFFSET_BITS=32` for LP32."
am:
a571e9e748
Change-Id: I6f646e36ae2de0a50dac703fcac385fb116035e3
Elliott Hughes [Tue, 18 Jul 2017 18:04:25 +0000 (18:04 +0000)]
Merge "Document the intricacies of `_FILE_OFFSET_BITS=32` for LP32."
Elliott Hughes [Tue, 18 Jul 2017 00:14:02 +0000 (17:14 -0700)]
Remove weaker _POSIX_THREAD_PROCESS_SHARED test.
This branch (master, which will be o-mr1) already has a stronger test
than this one (which was added for o-dr, which doesn't have its own API
level).
Bug: http://b/
62424597
Test: ran tests
Change-Id: Icfb7b50fa3c5b6d256d378add12c854a899a1c92
Elliott Hughes [Mon, 17 Jul 2017 22:37:03 +0000 (22:37 +0000)]
Merge "Loosen _POSIX_THREAD_PROCESS_SHARED test. am:
7b41aaf3d5 am:
e69278094a" into oc-dr1-dev-plus-aosp
am:
43bf301553
Change-Id: Ia7bb6ea599bcce05fa7116fbd64fd1ff5e45cd4a
Elliott Hughes [Mon, 17 Jul 2017 22:36:49 +0000 (22:36 +0000)]
Loosen _POSIX_THREAD_PROCESS_SHARED test. am:
7b41aaf3d5 am:
f58c401672
am:
a3abe4b3ac
Change-Id: I602285464d04fce37d50a8ae6cba20278caecc87
Android Build Merger (Role) [Mon, 17 Jul 2017 22:34:39 +0000 (22:34 +0000)]
Merge "Loosen _POSIX_THREAD_PROCESS_SHARED test. am:
7b41aaf3d5 am:
e69278094a" into oc-dr1-dev-plus-aosp
Elliott Hughes [Mon, 17 Jul 2017 22:34:30 +0000 (22:34 +0000)]
Loosen _POSIX_THREAD_PROCESS_SHARED test. am:
7b41aaf3d5
am:
e69278094a
Change-Id: Ie69c304454c7fd31b8d69bcf316cd9f4cf8988bd
Elliott Hughes [Mon, 17 Jul 2017 22:34:16 +0000 (22:34 +0000)]
Loosen _POSIX_THREAD_PROCESS_SHARED test. am:
7b41aaf3d5
am:
f58c401672
Change-Id: I82012d0143b4548144d37926acb58ba89680fb6b
Elliott Hughes [Mon, 17 Jul 2017 22:31:46 +0000 (22:31 +0000)]
Loosen _POSIX_THREAD_PROCESS_SHARED test.
am:
7b41aaf3d5
Change-Id: Ieb17d253ea1e421219c04ffdb804c2e8460d997e
Elliott Hughes [Mon, 17 Jul 2017 22:31:46 +0000 (22:31 +0000)]
Loosen _POSIX_THREAD_PROCESS_SHARED test.
am:
7b41aaf3d5
Change-Id: I7f8920c2dfa00dfe7de504c41caefa9d1c8dc727
Elliott Hughes [Mon, 17 Jul 2017 22:02:14 +0000 (22:02 +0000)]
Merge "Make _scan_nan a bit less visible for libandroid_support users." am:
fbd8762e6e am:
b00d0984fd am:
9ef11a7fc4
am:
4f383811e5
Change-Id: Ide2a3d9211b2046d6ceb6fc295413c5497cb6ba1
Elliott Hughes [Wed, 12 Jul 2017 22:02:20 +0000 (15:02 -0700)]
Document the intricacies of `_FILE_OFFSET_BITS=32` for LP32.
Bug: https://github.com/android-ndk/ndk/issues/453
Test: N/A
Change-Id: I5c00e63c861b19071229d2eae737dfbeb550e7e8
Elliott Hughes [Mon, 17 Jul 2017 21:59:44 +0000 (21:59 +0000)]
Merge "Make _scan_nan a bit less visible for libandroid_support users." am:
fbd8762e6e am:
b00d0984fd
am:
9ef11a7fc4
Change-Id: I5a9b6b4cd09c5ff48bad3461780a5964c649d162
Elliott Hughes [Mon, 17 Jul 2017 21:57:14 +0000 (21:57 +0000)]
Merge "Make _scan_nan a bit less visible for libandroid_support users." am:
fbd8762e6e
am:
b00d0984fd
Change-Id: Ibedfe6af4148d1d06db5845304ff2b9102f6d150
Elliott Hughes [Mon, 17 Jul 2017 21:54:43 +0000 (21:54 +0000)]
Merge "Make _scan_nan a bit less visible for libandroid_support users."
am:
fbd8762e6e
Change-Id: I6e8ad0611f54790d76663ebc427866d5737ae6b5
Elliott Hughes [Mon, 17 Jul 2017 21:45:46 +0000 (21:45 +0000)]
Merge "Make _scan_nan a bit less visible for libandroid_support users."
Dan Albert [Mon, 17 Jul 2017 21:05:44 +0000 (14:05 -0700)]
Add __RENAME_IF_FILE_OFFSET64.
Convenience macro for __RENAME if __USE_FILE_OFFSET64 mode. Lets us
avoid duplicating all the doxygen comments in frameworks headers.
Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/459
Change-Id: Ica44f22b2f1596e484694006c0926d94d16187b5
Elliott Hughes [Mon, 17 Jul 2017 18:23:02 +0000 (11:23 -0700)]
Make _scan_nan a bit less visible for libandroid_support users.
Bug: N/A
Test: readelf
Change-Id: Ibb5fbf09f6ae589a3e789107a641013fc6bc375b
dimitry [Mon, 17 Jul 2017 09:24:54 +0000 (11:24 +0200)]
loader: fix dlopen performance regression caused by fix for CVE-2017-0670
Fix for CVE-2017-0670 in lmp-mr1 branch caused significant slowdowns
on dlopens for libraries with large dependency trees. Modified
is_recursive check led to unecessary check of already linked libraries.
This change excludes already loaded and linked libraries from this check
since it is redundant - linker already did it while loading these
libraries.
Bug:
63658102
Test: run bionic-unit-tests --gtest_filter=dl*:Dl*
Test: manually check load times for libraries with large dependency trees.
Change-Id: Idf25376f4889c4430442ff16a16e1d79ccb77b27
Elliott Hughes [Sat, 15 Jul 2017 03:33:16 +0000 (03:33 +0000)]
Merge "Hide various mbstate implementation details." am:
dcdd0e3760 am:
452c185a0b am:
7267c89021
am:
65cad047d5
Change-Id: I9120ec32e519e6a98acd01e5d27f7d3cc06ef9bc
Elliott Hughes [Sat, 15 Jul 2017 03:28:17 +0000 (03:28 +0000)]
Merge "Hide various mbstate implementation details." am:
dcdd0e3760 am:
452c185a0b
am:
7267c89021
Change-Id: I9f2527098d402a44e5b8027ad1f205d4802d4566
Elliott Hughes [Sat, 15 Jul 2017 03:23:47 +0000 (03:23 +0000)]
Merge "Hide various mbstate implementation details." am:
dcdd0e3760
am:
452c185a0b
Change-Id: Ic0e08363041365345232755d678d9caf2a2c4541
Elliott Hughes [Sat, 15 Jul 2017 03:19:16 +0000 (03:19 +0000)]
Merge "Hide various mbstate implementation details."
am:
dcdd0e3760
Change-Id: I4f2941939f40c04344f3f9dcfd5debe7780d9275
Treehugger Robot [Sat, 15 Jul 2017 03:12:36 +0000 (03:12 +0000)]
Merge "Hide various mbstate implementation details."
Elliott Hughes [Sat, 15 Jul 2017 01:24:19 +0000 (01:24 +0000)]
Merge "Allow passing filenames to generate-NOTICE.py." am:
65cebf0804 am:
18f0ad8b86 am:
9be4255829
am:
7b97ed787f
Change-Id: I0be3409298d0d284dad02d1b697ec944df7d10d3
Elliott Hughes [Sat, 15 Jul 2017 01:20:52 +0000 (01:20 +0000)]
Merge "Allow passing filenames to generate-NOTICE.py." am:
65cebf0804 am:
18f0ad8b86
am:
9be4255829
Change-Id: Ia9b2eda7cd3a196112a8d1f9d160963c3defb376
Elliott Hughes [Sat, 15 Jul 2017 01:16:38 +0000 (01:16 +0000)]
Merge "Allow passing filenames to generate-NOTICE.py." am:
65cebf0804
am:
18f0ad8b86
Change-Id: I254d4fbb8fb2efffec04288c3b313e3a7285988b
Elliott Hughes [Sat, 15 Jul 2017 01:12:39 +0000 (01:12 +0000)]
Merge "Allow passing filenames to generate-NOTICE.py."
am:
65cebf0804
Change-Id: Iaa397d7a3065ae6514e26c2c4d5e69eb0ca04ede
Treehugger Robot [Sat, 15 Jul 2017 01:07:39 +0000 (01:07 +0000)]
Merge "Allow passing filenames to generate-NOTICE.py."
Elliott Hughes [Sat, 15 Jul 2017 00:00:05 +0000 (17:00 -0700)]
Hide various mbstate implementation details.
...by inlining them.
Also fix a couple of harmless bugs in passing. I've added tests, but in
both cases I don't think it was actually possible to hit the bad behavior:
we'd hit another test and fail immediately after in an externally
indistinguishable way.
Bug: N/A
Test: readelf
Change-Id: I8466050b0bfe2b7b94c76b383cf10c1d9d28debd
Elliott Hughes [Fri, 14 Jul 2017 17:00:32 +0000 (10:00 -0700)]
Allow passing filenames to generate-NOTICE.py.
For the libandroid_support NOTICE file, we need to combine all the files
in that directory, plus the specific files pulled from bionic.
Also cleaned up some of the Python style.
Bug: N/A
Test: used for libandroid_support
Change-Id: If433e3a0f0478f06d99a9b3556e99dde06a7e5e1
Jiyong Park [Fri, 14 Jul 2017 22:27:14 +0000 (22:27 +0000)]
Merge "__cfi_slowpath[_diag] are available to NDK and VNDK clients" am:
b1c3da1d89 am:
510d9236dd am:
89db25a0a0
am:
6542e1b906
Change-Id: I45e51291b51661d37e7ee26f43742ce23a05876d
Jiyong Park [Fri, 14 Jul 2017 22:23:17 +0000 (22:23 +0000)]
Merge "__cfi_slowpath[_diag] are available to NDK and VNDK clients" am:
b1c3da1d89 am:
510d9236dd
am:
89db25a0a0
Change-Id: Id2d0206490dca5ed0b971bd11adc146a1fffe86b
Jiyong Park [Fri, 14 Jul 2017 22:19:14 +0000 (22:19 +0000)]
Merge "__cfi_slowpath[_diag] are available to NDK and VNDK clients" am:
b1c3da1d89
am:
510d9236dd
Change-Id: I31c4f6a26932e9f6564704a82016a629483a3d5b
Jiyong Park [Fri, 14 Jul 2017 22:15:53 +0000 (22:15 +0000)]
Merge "__cfi_slowpath[_diag] are available to NDK and VNDK clients"
am:
b1c3da1d89
Change-Id: Ib34c688064d470a5f7fe546013bae0a83985d66a
Treehugger Robot [Fri, 14 Jul 2017 22:09:50 +0000 (22:09 +0000)]
Merge "__cfi_slowpath[_diag] are available to NDK and VNDK clients"
Elliott Hughes [Fri, 14 Jul 2017 19:06:15 +0000 (19:06 +0000)]
Merge "libm symbol cleanup." am:
4ebed99e25 am:
8d21ab4fda am:
3cefa966ef
am:
6c031d1c12
Change-Id: I412a3ea79fd362c922e7ba0507dee87a0abdef6b
Elliott Hughes [Fri, 14 Jul 2017 19:02:42 +0000 (19:02 +0000)]
Merge "libm symbol cleanup." am:
4ebed99e25 am:
8d21ab4fda
am:
3cefa966ef
Change-Id: I8f408ca57cabc94da60296e131c99cb78fa3de2d
Elliott Hughes [Fri, 14 Jul 2017 18:59:11 +0000 (18:59 +0000)]
Merge "libm symbol cleanup." am:
4ebed99e25
am:
8d21ab4fda
Change-Id: I8b7d3451e165e7d696cbaa9a3f314f909c3d6b0f
Elliott Hughes [Fri, 14 Jul 2017 18:55:42 +0000 (18:55 +0000)]
Merge "libm symbol cleanup."
am:
4ebed99e25
Change-Id: I1019918ae9598c91300749619a90fddb74796b64
Treehugger Robot [Fri, 14 Jul 2017 18:51:03 +0000 (18:51 +0000)]
Merge "libm symbol cleanup."
Elliott Hughes [Fri, 14 Jul 2017 00:30:06 +0000 (17:30 -0700)]
libm symbol cleanup.
Some of this code is used in the NDK libandroid_support now, as a static
library, so just being HIDDEN in the ELF sense isn't sufficient.
Rename digittoint to __libm_digittoint so we don't trample anyone's toes.
Also remove imprecise_powl and imprecise_tgammal. It turns out (to my
surprise) that we don't even have ld128 implementations of powl and tgammal,
so even LP64 was just using the "fake_long_double.c" hack in effect. Since
that's the case, let's *actually* do that because then we're not polluting
with the internal names in addition to the aliases.
Bug: N/A
Test: readelf
Change-Id: I273cc8fdc7ce53f9b8dfd4ef7796e358fe901837
Elliott Hughes [Thu, 13 Jul 2017 17:28:21 +0000 (10:28 -0700)]
Loosen _POSIX_THREAD_PROCESS_SHARED test.
Bug: http://b/
62424597
Test: bionic unistd.sysconf test
Change-Id: I4adb6d227f761360e9d3fe084a45c386bc6944da
Elliott Hughes [Thu, 13 Jul 2017 19:44:55 +0000 (19:44 +0000)]
Merge "Fix unistd._POSIX_macros_smoke test." am:
03e9c498d4 am:
5a99bd4ea7 am:
1e4853a6df
am:
accad92a3b
Change-Id: Id2a430753c0980d124fb9b7618b85261f3defded
Dan Albert [Thu, 13 Jul 2017 19:44:43 +0000 (19:44 +0000)]
Merge "Move wchar _l functions out of wchar.cpp." am:
78c8b306ee am:
021d7ca543 am:
aa47998465
am:
cc44261d4e
Change-Id: If1b050fe01495397b9f7eb241bd85b0fe310a06f
Elliott Hughes [Thu, 13 Jul 2017 19:39:57 +0000 (19:39 +0000)]
Merge "Fix unistd._POSIX_macros_smoke test." am:
03e9c498d4 am:
5a99bd4ea7
am:
1e4853a6df
Change-Id: I0cbe6646ff90d037e5af482acd5666a9c37a9564
Dan Albert [Thu, 13 Jul 2017 19:39:44 +0000 (19:39 +0000)]
Merge "Move wchar _l functions out of wchar.cpp." am:
78c8b306ee am:
021d7ca543
am:
aa47998465
Change-Id: Ib946f3cf772a7cd51dda1462ee92fd9959fe7b1d
Elliott Hughes [Thu, 13 Jul 2017 19:32:55 +0000 (19:32 +0000)]
Merge "Fix unistd._POSIX_macros_smoke test." am:
03e9c498d4
am:
5a99bd4ea7
Change-Id: Ib3afe4345722a39f96cbc0084fc579e2d3d6997b
Dan Albert [Thu, 13 Jul 2017 19:32:42 +0000 (19:32 +0000)]
Merge "Move wchar _l functions out of wchar.cpp." am:
78c8b306ee
am:
021d7ca543
Change-Id: Ie09981f2021f77a32491640f84d85cc4ff39fecb
Elliott Hughes [Thu, 13 Jul 2017 19:27:58 +0000 (19:27 +0000)]
Merge "Fix unistd._POSIX_macros_smoke test."
am:
03e9c498d4
Change-Id: I751bc797ae578760664b51859c7b9a1711709adb
Dan Albert [Thu, 13 Jul 2017 19:27:42 +0000 (19:27 +0000)]
Merge "Move wchar _l functions out of wchar.cpp."
am:
78c8b306ee
Change-Id: Ia871cf273fde5c70737378b0a7634f2a634d5587
Treehugger Robot [Thu, 13 Jul 2017 19:25:38 +0000 (19:25 +0000)]
Merge "Fix unistd._POSIX_macros_smoke test."
Treehugger Robot [Thu, 13 Jul 2017 19:21:11 +0000 (19:21 +0000)]
Merge "Move wchar _l functions out of wchar.cpp."
Dan Albert [Thu, 13 Jul 2017 17:29:20 +0000 (10:29 -0700)]
Move wchar _l functions out of wchar.cpp.
We don't need these in libandroid_support, but we do need the other
parts of wchar.cpp, and they're not really related.
Test: make checkbuild
Bug: None
Change-Id: I40f3089b034abfd4873e81c0b6216a7cfd977d8d
Elliott Hughes [Thu, 13 Jul 2017 17:20:41 +0000 (10:20 -0700)]
Fix unistd._POSIX_macros_smoke test.
We now claim _POSIX2_VERSION, but the test wasn't updated.
Bug: N/A
Test: ran tests
Change-Id: Idb3369b3df4b964f585597f0d37962ae619322d2
Dan Albert [Thu, 13 Jul 2017 08:45:04 +0000 (08:45 +0000)]
Merge changes from topic 'locale-android-support' am:
2d585e0070 am:
5f78abdbd8 am:
c3f90fb45a
am:
e209c7e28b
Change-Id: Ib79e8e616fa4444c97f0193a21e86b06217d539b
Dan Albert [Thu, 13 Jul 2017 08:42:34 +0000 (08:42 +0000)]
Merge changes from topic 'locale-android-support' am:
2d585e0070 am:
5f78abdbd8
am:
c3f90fb45a
Change-Id: Ib3bedde420933002f992f9c9e0e24d9ddd5047ae
Dan Albert [Thu, 13 Jul 2017 08:40:04 +0000 (08:40 +0000)]
Merge changes from topic 'locale-android-support' am:
2d585e0070
am:
5f78abdbd8
Change-Id: I3716fa367e78b41548c75b7fdb7bf9c68ffb9173
Dan Albert [Thu, 13 Jul 2017 08:37:05 +0000 (08:37 +0000)]
Merge changes from topic 'locale-android-support'
am:
2d585e0070
Change-Id: I993d7f4c2bd448aa11f0ad30d6db4cba625cb590
Dan Albert [Thu, 13 Jul 2017 08:34:57 +0000 (08:34 +0000)]
Merge changes from topic 'locale-android-support'
* changes:
Add a non-TLS slot implementation of locale.cpp.
Move non-locale.h APIs out of locale.cpp.
Christopher Ferris [Thu, 13 Jul 2017 06:25:25 +0000 (06:25 +0000)]
Merge "Really fix the mac build." am:
ada33eb9b4 am:
a95aade379 am:
8259929a3d
am:
15b2e07c92
Change-Id: Ib4c82053dc60b4e60efa32dd52cf5c5b7b37cfe5
Christopher Ferris [Thu, 13 Jul 2017 06:22:56 +0000 (06:22 +0000)]
Merge "Really fix the mac build." am:
ada33eb9b4 am:
a95aade379
am:
8259929a3d
Change-Id: Iafa1539afdd28b1721afdea11c90201fd3a88fb4
Christopher Ferris [Thu, 13 Jul 2017 06:20:25 +0000 (06:20 +0000)]
Merge "Really fix the mac build." am:
ada33eb9b4
am:
a95aade379
Change-Id: I737b32cb43842c859bd7fc4eec7c5b7ab390b511
Christopher Ferris [Thu, 13 Jul 2017 06:17:26 +0000 (06:17 +0000)]
Merge "Really fix the mac build."
am:
ada33eb9b4
Change-Id: I131c705329ac3c85509c677a8b0caf3b08cf78b4
Christopher Ferris [Thu, 13 Jul 2017 06:13:14 +0000 (06:13 +0000)]
Merge "Really fix the mac build."
Christopher Ferris [Thu, 13 Jul 2017 06:10:07 +0000 (23:10 -0700)]
Really fix the mac build.
I forgot an underscore.
Test: Builds.
Change-Id: Ib7da13dea315822af89c53a569fb0a0c2fd5d321
Christopher Ferris [Thu, 13 Jul 2017 04:41:49 +0000 (04:41 +0000)]
Merge "Fix max build." am:
b1e4cc31a4 am:
3b33f6f9c1 am:
ccf5bfe492
am:
9f77a93739
Change-Id: I444c2b055fcda4e19ad29b3a5b16420cfa60df0d
Christopher Ferris [Thu, 13 Jul 2017 04:39:50 +0000 (04:39 +0000)]
Merge "Fix max build." am:
b1e4cc31a4 am:
3b33f6f9c1
am:
ccf5bfe492
Change-Id: I5824183eb48f254f435a3094e12b225a4279bbff