Elliott Hughes
ffa8672bd5
am d3d89f0d: Merge "Add arc4random_addrandom binary compatibility."
...
* commit 'd3d89f0d28aba2db9f11cc0a9b3a865fa1d9d265':
Add arc4random_addrandom binary compatibility.
2014-09-08 18:11:52 +00:00
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
9e7abe2e60
am b4673c41: Merge "Add dlmalloc_usable_size for 32 bit arches."
...
* commit 'b4673c41025f3a16804aff8438c2810c739a11ef':
Add dlmalloc_usable_size for 32 bit arches.
2014-09-06 20:28:37 +00:00
Christopher Ferris
b4673c4102
Merge "Add dlmalloc_usable_size for 32 bit arches."
2014-09-06 20:17:02 +00:00
Christopher Ferris
eb1dd673ec
am 47ed03f7: Merge "Add dlmalloc_usable_size for 32 bit arches." into lmp-dev
...
* commit '47ed03f70c6c9addc7f05e4ee4dc71c96d215105':
Add dlmalloc_usable_size for 32 bit arches.
2014-09-06 20:14:17 +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
Christopher Ferris
47ed03f70c
Merge "Add dlmalloc_usable_size for 32 bit arches." into lmp-dev
2014-09-06 19:58:40 +00:00
Christopher Ferris
1c365cb494
Add dlmalloc_usable_size for 32 bit arches.
...
Bug: 17337831
Change-Id: I50c50559a5dfa083c85f064042bc0726718c988b
2014-09-05 18:37:30 -07:00
Ying Wang
455577d3ce
am e07b4da5: Merge "Use LOCAL_POST_LINK_CMD to insert the objcopy command for linker."
...
* commit 'e07b4da53ddcb34939c1b5a88db36dec34352add':
Use LOCAL_POST_LINK_CMD to insert the objcopy command for linker.
2014-09-05 23:58:08 +00:00
Dmitriy Ivanov
2a0105f95d
am 320a01d5: Merge "Revert "Load libraries in breadth-first order""
...
* commit '320a01d51693408dad859094ca52e5f315ff1d15':
Revert "Load libraries in breadth-first order"
2014-09-05 23:58:07 +00: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
Dmitriy Ivanov
4a4dc7b37c
am b3ebfecd: Merge "Fix order of soinfo links (repairs libcxx tests)."
...
* commit 'b3ebfecdae05e29062bf4d0234239a54a2733ce0':
Fix order of soinfo links (repairs libcxx tests).
2014-09-05 23:27:30 +00: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
1325d50c72
am 8adace5f: Merge "Enable clang compilation with libc but not linker."
...
* commit '8adace5f2c185bd616f79159eaf90d2982157069':
Enable clang compilation with libc but not linker.
2014-09-05 19:11:06 +00: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
Elliott Hughes
3fd8eee516
am 5beddb7d: Fix pthread_attr_getstack__main_thread.
...
* commit '5beddb7d642524ecb6655ab2823caf2add679917':
Fix pthread_attr_getstack__main_thread.
2014-09-05 15:32:44 +00:00
Elliott Hughes
5beddb7d64
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).
(cherry-pick of 27a9aed819
plus the
new ScopeGuard.h from a3ad450a2e3fb6b3fe359683b247eba20896f646.)
Bug: 17394276
Change-Id: I5b92dc64ca089400223b2d9a3743e9b9d57c1bc2
2014-09-04 20:34:03 -07:00
Dmitriy Ivanov
b7f09d0654
am 001815ed: Merge "Reset enviroment for math_tests"
...
* commit '001815ed197280409d08e9622890e7462c6e6831':
Reset enviroment for math_tests
2014-09-05 02:21:28 +00: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
5c5bb4d04e
am aca9cae3: Merge "Fix pthread_attr_getstack__main_thread."
...
* commit 'aca9cae30972ba2cd7a1158520dccd83b056513c':
Fix pthread_attr_getstack__main_thread.
2014-09-04 23:33:50 +00:00
Elliott Hughes
fc8f246a49
am c74a7680: Merge "Fix mips signed/unsigned signal_test.cpp build breakage."
...
* commit 'c74a7680a409cd9f0cd3847b59e20ac16ad05806':
Fix mips signed/unsigned signal_test.cpp build breakage.
2014-09-04 23:22:50 +00:00
Dmitriy Ivanov
4effe38ae6
am 44352f5f: Merge "Revert "Register __libc_fini as early as possible.""
...
* commit '44352f5f7f06ff9383d695b0a7d4243f5268f430':
Revert "Register __libc_fini as early as possible."
2014-09-04 23:22:37 +00:00
Dmitriy Ivanov
24d40f2df0
am c0cd9ce5: Merge "Revert "Fix arm64 build""
...
* commit 'c0cd9ce5df753161aabb393420a8ada8f369b551':
Revert "Fix arm64 build"
2014-09-04 23:22:37 +00: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
Elliott Hughes
ac5c111924
am 05f0bfd6: Merge "Don\'t mask out SA_RESTORER from sa_flags."
...
* commit '05f0bfd6c56746aa4f737804ebb62b555dc0d921':
Don't mask out SA_RESTORER from sa_flags.
2014-09-04 22:20:50 +00:00
Chih-Hung Hsieh
020ccc3c75
am 4ee7c325: Merge "Disable Clang, due to x86 LDBL_MANT_DIG errors."
...
* commit '4ee7c325df9662b344304f207faf73cc9c3b735c':
Disable Clang, due to x86 LDBL_MANT_DIG errors.
2014-09-04 22:20:48 +00: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
32dc56a1ca
am 071bed80: Merge "_GNU_SOURCE implies _BSD_SOURCE and the latest _POSIX_C_SOURCE."
...
* commit '071bed8091cab4e070a1f5e6b2eb0dd1141f0498':
_GNU_SOURCE implies _BSD_SOURCE and the latest _POSIX_C_SOURCE.
2014-09-04 17:16:01 +00: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
04ecc77df6
am 1737b159: Merge "Load libraries in breadth-first order"
...
* commit '1737b159374468a21859d97d8be70a726af0ec9e':
Load libraries in breadth-first order
2014-09-04 01:48:48 +00:00
Dmitriy Ivanov
1737b15937
Merge "Load libraries in breadth-first order"
2014-09-04 00:59:23 +00:00
Elliott Hughes
40acbd6904
am 1e010d60: Add back a dummy arc4random_stir for compatibility.
...
* commit '1e010d60397db706cd3d1c4d5701a2bced441aa8':
Add back a dummy arc4random_stir for compatibility.
2014-09-03 23:49:36 +00:00