Elliott Hughes
d3d89f0d28
Merge "Add arc4random_addrandom binary compatibility."
2014-09-08 17:53:04 +00:00
Elliott Hughes
fc829736e1
Add arc4random_addrandom binary compatibility.
...
This was in <stdlib.h> in older releases. It's no longer used, but we can
preserve backwards compatibility by making it a no-op.
(cherry-pick of 51c8355d5cf4b83ccd2ad250ca4c61a616356c2b.)
Bug: 16205834
Change-Id: Idde7b46df4f253e39675600bcf82352879a716e7
2014-09-08 10:52:28 -07:00
Christopher Ferris
b4673c4102
Merge "Add dlmalloc_usable_size for 32 bit arches."
2014-09-06 20:17:02 +00:00
Christopher Ferris
f903558446
Add dlmalloc_usable_size for 32 bit arches.
...
Bug: 17337831
(cherry picked from commit 1c365cb494
)
Change-Id: Ice100e42eeac4b9c3b77737a546ec33174adcb2f
2014-09-06 13:06:57 -07:00
Ying Wang
e07b4da53d
Merge "Use LOCAL_POST_LINK_CMD to insert the objcopy command for linker."
2014-09-05 23:41:25 +00:00
Dmitriy Ivanov
320a01d516
Merge "Revert "Load libraries in breadth-first order""
2014-09-05 23:36:22 +00:00
Dmitriy Ivanov
498eb18b82
Revert "Load libraries in breadth-first order"
...
This reverts commit a3ad450a2e
.
Change-Id: Ia2b838ad2159c643b80c514849582f4b4f4f40e5
2014-09-05 16:27:54 -07:00
Ying Wang
f9e147b0bf
Use LOCAL_POST_LINK_CMD to insert the objcopy command for linker.
...
Previously we duplicated code in build/core/executable.mk and it's hard
to maintain. LOCAL_POST_LINK_CMD is a clean solution for this.
Bug: 17403674
Change-Id: I8c054bf782af68cf1f88b8d787a78ca74a7968b5
2014-09-05 16:16:35 -07:00
Dmitriy Ivanov
b3ebfecdae
Merge "Fix order of soinfo links (repairs libcxx tests)."
2014-09-05 23:11:19 +00:00
Dmitriy Ivanov
b2a30ee8d2
Fix order of soinfo links (repairs libcxx tests).
...
Change-Id: Iee9de09657351cd6a7512784ca797e4b84cdd98b
2014-09-05 16:01:47 -07:00
Chih-Hung Hsieh
8adace5f2c
Merge "Enable clang compilation with libc but not linker."
2014-09-05 18:54:48 +00:00
Chih-Hung Hsieh
b58db8b083
Enable clang compilation with libc but not linker.
...
Clang is still disabled for x86 and x86_64 long double code,
for x86_64 special assembly instruction, and the linker module.
BUG: 17163651
BUG: 17302991
BUG: 17403674
Change-Id: I43c5f5f0ddc0c2a31918f00b57150dadd8f3f26b
2014-09-05 11:18:35 -07:00
Dmitriy Ivanov
001815ed19
Merge "Reset enviroment for math_tests"
2014-09-05 01:56:44 +00:00
Dmitriy Ivanov
7b956ede3f
Reset enviroment for math_tests
...
Bug: 17390824
Change-Id: I42f4c8d9199a2efe7641f0b0e64580cacb5695da
2014-09-04 18:38:21 -07:00
Elliott Hughes
aca9cae309
Merge "Fix pthread_attr_getstack__main_thread."
2014-09-04 23:20:53 +00:00
Elliott Hughes
27a9aed819
Fix pthread_attr_getstack__main_thread.
...
There were two problems here:
* This would fail when run with unlimited stack, because it didn't know
that bionic reports unlimited stacks as 8MiB.
* This would leave RLIMIT_STACK small, causing failures to exec (so the
popen and system tests would fail).
Change-Id: I5b92dc64ca089400223b2d9a3743e9b9d57c1bc2
2014-09-04 16:09:25 -07:00
Elliott Hughes
c74a7680a4
Merge "Fix mips signed/unsigned signal_test.cpp build breakage."
2014-09-04 22:48:16 +00:00
Elliott Hughes
aa13e839f0
Fix mips signed/unsigned signal_test.cpp build breakage.
...
Change-Id: I045ce017c0c51e1843193759a2eb6fc5b93e3867
2014-09-04 15:43:10 -07:00
Dmitriy Ivanov
44352f5f7f
Merge "Revert "Register __libc_fini as early as possible.""
2014-09-04 21:55:59 +00:00
Dmitriy Ivanov
c0cd9ce5df
Merge "Revert "Fix arm64 build""
2014-09-04 21:55:55 +00:00
Dmitriy Ivanov
4b41555ba5
Revert "Register __libc_fini as early as possible."
...
This reverts commit e880c736d6
.
Change-Id: Ide83e442eb5dbfef5298a15bc602c3fe1dda1862
2014-09-04 21:54:34 +00:00
Dmitriy Ivanov
f0d8970435
Revert "Fix arm64 build"
...
This reverts commit 5c1a7fdbd5
.
Change-Id: Ia5fea0d6a8f59700edce0742e2271b5f02a5d87c
2014-09-04 21:53:14 +00:00
Elliott Hughes
05f0bfd6c5
Merge "Don't mask out SA_RESTORER from sa_flags."
2014-09-04 21:03:34 +00:00
Elliott Hughes
afe58ad989
Don't mask out SA_RESTORER from sa_flags.
...
glibc doesn't do this, and we probably shouldn't either.
Bug: 16703540
Change-Id: Id5b93c3782e34024a9916463348e8f3caff191bf
2014-09-04 13:54:42 -07:00
Chih-Hung Hsieh
4ee7c325df
Merge "Disable Clang, due to x86 LDBL_MANT_DIG errors."
2014-09-04 20:44:34 +00:00
Chih-Hung Hsieh
356a6249d8
Disable Clang, due to x86 LDBL_MANT_DIG errors.
...
Clang -m32 has incorrect sizeof(long double) = 12.
With -m64, LDBL_MANT_DIG is incorrect 64.
BUG: 17163651
Change-Id: I4b157aa1a8572c3a10aece6070e119a292ab8e83
2014-09-04 12:35:19 -07:00
Elliott Hughes
071bed8091
Merge "_GNU_SOURCE implies _BSD_SOURCE and the latest _POSIX_C_SOURCE."
2014-09-04 17:02:10 +00:00
Elliott Hughes
fc8974b7aa
_GNU_SOURCE implies _BSD_SOURCE and the latest _POSIX_C_SOURCE.
...
This showed up as open_memstream not being visible in <stdio.h>
if only _GNU_SOURCE was defined.
Bug: 17361504
Change-Id: I38f9843f4e6ee770a6325ad50f779bda5495ffca
2014-09-04 08:53:16 -07:00
Dmitriy Ivanov
1737b15937
Merge "Load libraries in breadth-first order"
2014-09-04 00:59:23 +00:00
Dmitriy Ivanov
8f3b8f523e
Merge "Fix arm64 build"
2014-09-03 23:36:35 +00:00
Elliott Hughes
58bb54c38b
Merge "Add back a dummy arc4random_stir for compatibility."
2014-09-03 23:34:05 +00:00
Dmitriy Ivanov
5c1a7fdbd5
Fix arm64 build
...
Bug: 14611536
Change-Id: I4f7f4d1f5c0a37ef38fa0956778393f8d7668512
2014-09-03 16:33:08 -07:00
Elliott Hughes
5dea47221a
Add back a dummy arc4random_stir for compatibility.
...
The current arc4random implementation stirs itself as needed, but we
need to keep an arc4random_stir symbol around for binary compatibility.
(cherry-pick of 1e010d60397db706cd3d1c4d5701a2bced441aa8.)
Bug: 17291075
Change-Id: Iaf6171c3ec65c39c1868364d5b35ea280e29a363
2014-09-03 16:30:22 -07:00
Dmitriy Ivanov
450aaa018d
Merge "Register __libc_fini as early as possible."
2014-09-03 22:29:59 +00:00
Dmitriy Ivanov
e880c736d6
Register __libc_fini as early as possible.
...
We want __libc_fini to be called after all the destructors.
Bug: 14611536
Change-Id: Ibb83a94436795ec178fd605fa531ac29608f4a3e
2014-09-03 15:27:29 -07:00
Dmitriy Ivanov
8da304b997
Merge "Make string tests check all alignment combinations"
2014-09-03 22:08:57 +00:00
Dmitriy Ivanov
a3ad450a2e
Load libraries in breadth-first order
...
This patch fixes the problem with symbol search order
for dlsym(RTLD_DEFAULT/RTLD_NEXT, .) by loading libraries
and ld_preloads in correct order.
Bug: https://code.google.com/p/android/issues/detail?id=74255
Change-Id: I4cf84c70dbaabe99310230dfda12385ae5401859
2014-09-03 15:06:14 -07:00
Dan Albert
28f1770101
Merge "Don't fail a test just because we aren't root."
2014-09-03 18:37:11 +00:00
Dan Albert
69fb9f3f40
Don't fail a test just because we aren't root.
...
If the tests are not being run as root, emit a message and don't
continue with the test.
Change-Id: I352e1a4162caaeb18b81b8daf44797009756dcd9
2014-09-03 11:30:21 -07:00
Dmitriy Ivanov
3b10ba6f1b
Merge "Add some missing dlclose(.)"
2014-09-03 00:36:22 +00:00
Dmitriy Ivanov
319356e39c
Add some missing dlclose(.)
...
Bug: 17358010
Change-Id: I9e427b7681f1a8fe890b0b47812d9e65ab95c792
2014-09-02 17:31:44 -07:00
Dan Albert
c7de919129
Merge "Start math tests with a clean fenv."
2014-09-02 23:11:42 +00:00
Dan Albert
6676a7d4ee
Start math tests with a clean fenv.
...
We always want the default floating point environment when running these
tests.
Bug: 17358010
Change-Id: I6ca2552e9f2d3e07d7b9dcaf0aec66905401c466
2014-09-02 16:00:10 -07:00
Dan Albert
847e52b9b7
Merge "Prevent a few test pthread keys from leaking."
2014-09-02 22:43:18 +00:00
Dan Albert
1d53ae2a01
Prevent a few test pthread keys from leaking.
...
Bug: 17358010
Change-Id: Ie718dc215ddfd431650295a1630c1b1716760c3d
2014-09-02 15:24:26 -07:00
Elliott Hughes
ec95a9cf11
Merge "MIPS64 syscall() arguments"
2014-09-02 20:53:31 +00:00
Chris Dearman
296895f1a9
MIPS64 syscall() arguments
...
The seventh argument for syscall is passed in a register, not on the stack
Change-Id: Idb69fac77d1f710cff5a3ab4ae1259feb61ae69d
2014-09-02 12:41:01 -07:00
Dmitriy Ivanov
86f594b19b
Merge "Encapsulate soinfo_link_image and soinfo_relocate"
2014-09-02 19:25:09 +00:00
Dmitriy Ivanov
29bbc9dd4c
Encapsulate soinfo_link_image and soinfo_relocate
...
Also get rid of needed[] array for these functions
Change-Id: I8d12887dbec0724309bb171e6bbd9b9ceb32cc70
2014-09-02 11:47:23 -07:00
Elliott Hughes
4625dd751e
Merge "Upgrade bionic to tzdata2014g."
2014-09-02 17:57:10 +00:00