aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-11Revert "Hide _tolower_tab_ and _toupper_tab_ on LP64."linaro-armv8-14.09Amit Pundir
This reverts commit dd4ad5c463c9bd479e8acf81227708717aafe204. Mali binary blobs for Juno still rely on these exported variables so keep them in bionic libraries till the Mali binary blobs are fixed. Change-Id: Ia24b67465b1be6fa9d33c8aa69283416fef57b72 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2014-09-09Merge "When comparing DNS server configs, also compare number of servers"Lorenzo Colitti
2014-09-09When comparing DNS server configs, also compare number of serversLorenzo Colitti
Bug: 16070602 Change-Id: I605f1cca50b08479ebcad290b3bd179f59be8a96
2014-09-09Merge "Load libraries in breadth-first order"Dmitriy Ivanov
2014-09-08Merge "Ensure __set_errno is still visible on LP32."Elliott Hughes
2014-09-08Ensure __set_errno is still visible on LP32.Elliott Hughes
The use of the .hidden directive to avoid going via the PLT for __set_errno had the side-effect of actually making __set_errno hidden (which is odd because assembler directives don't usually affect symbols defined in a different file --- you can't even create a weak reference to a symbol that's defined in a different file). This change switches the system call stubs over to a new always-hidden __set_errno_internal and has a visible __set_errno on LP32 just for binary compatibility with old NDK apps. (cherry-pick of 7efad83d430f4d824f2aaa75edea5106f6ff8aae.) Bug: 17423135 Change-Id: I6b6d7a05dda85f923d22e5ffd169a91e23499b7b
2014-09-08Merge "Don't expose non-standard basename_r and dirname_r in LP64."Elliott Hughes
2014-09-08Don't expose non-standard basename_r and dirname_r in LP64.Elliott Hughes
(cherry-pick of f0e9458ea596227720fa745df15f5357f6c0c8f6.) Bug: 17407423 Change-Id: I47fe499a4c396bf09d7b78fd828728d04777398b
2014-09-08Load libraries in breadth-first orderDmitriy Ivanov
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: If1ba5c807322409faa914e27ecb675e2c4541f0d Attempt: 2
2014-09-08Merge "Add arc4random_addrandom binary compatibility."Elliott Hughes
2014-09-08Add arc4random_addrandom binary compatibility.Elliott Hughes
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-06Merge "Add dlmalloc_usable_size for 32 bit arches."Christopher Ferris
2014-09-06Add dlmalloc_usable_size for 32 bit arches.Christopher Ferris
Bug: 17337831 (cherry picked from commit 1c365cb494d8cab1b639ecef21514425647e606b) Change-Id: Ice100e42eeac4b9c3b77737a546ec33174adcb2f
2014-09-05Merge "Use LOCAL_POST_LINK_CMD to insert the objcopy command for linker."Ying Wang
2014-09-05Merge "Revert "Load libraries in breadth-first order""Dmitriy Ivanov
2014-09-05Revert "Load libraries in breadth-first order"Dmitriy Ivanov
This reverts commit a3ad450a2e3fb6b3fe359683b247eba20896f646. Change-Id: Ia2b838ad2159c643b80c514849582f4b4f4f40e5
2014-09-05Use LOCAL_POST_LINK_CMD to insert the objcopy command for linker.Ying Wang
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-05Merge "Fix order of soinfo links (repairs libcxx tests)."Dmitriy Ivanov
2014-09-05Fix order of soinfo links (repairs libcxx tests).Dmitriy Ivanov
Change-Id: Iee9de09657351cd6a7512784ca797e4b84cdd98b
2014-09-05Merge "Enable clang compilation with libc but not linker."Chih-Hung Hsieh
2014-09-05Enable clang compilation with libc but not linker.Chih-Hung Hsieh
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-05Merge "Reset enviroment for math_tests"Dmitriy Ivanov
2014-09-04Reset enviroment for math_testsDmitriy Ivanov
Bug: 17390824 Change-Id: I42f4c8d9199a2efe7641f0b0e64580cacb5695da
2014-09-04Merge "Fix pthread_attr_getstack__main_thread."Elliott Hughes
2014-09-04Fix pthread_attr_getstack__main_thread.Elliott Hughes
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-04Merge "Fix mips signed/unsigned signal_test.cpp build breakage."Elliott Hughes
2014-09-04Fix mips signed/unsigned signal_test.cpp build breakage.Elliott Hughes
Change-Id: I045ce017c0c51e1843193759a2eb6fc5b93e3867
2014-09-04Merge "Revert "Register __libc_fini as early as possible.""Dmitriy Ivanov
2014-09-04Merge "Revert "Fix arm64 build""Dmitriy Ivanov
2014-09-04Revert "Register __libc_fini as early as possible."Dmitriy Ivanov
This reverts commit e880c736d6c1d947f6309d5f1f63c74e8345c6a6. Change-Id: Ide83e442eb5dbfef5298a15bc602c3fe1dda1862
2014-09-04Revert "Fix arm64 build"Dmitriy Ivanov
This reverts commit 5c1a7fdbd5a085024019b4c9307d2b2ace35df5e. Change-Id: Ia5fea0d6a8f59700edce0742e2271b5f02a5d87c
2014-09-04Merge "Don't mask out SA_RESTORER from sa_flags."Elliott Hughes
2014-09-04Don't mask out SA_RESTORER from sa_flags.Elliott Hughes
glibc doesn't do this, and we probably shouldn't either. Bug: 16703540 Change-Id: Id5b93c3782e34024a9916463348e8f3caff191bf
2014-09-04Merge "Disable Clang, due to x86 LDBL_MANT_DIG errors."Chih-Hung Hsieh
2014-09-04Disable Clang, due to x86 LDBL_MANT_DIG errors.Chih-Hung Hsieh
Clang -m32 has incorrect sizeof(long double) = 12. With -m64, LDBL_MANT_DIG is incorrect 64. BUG: 17163651 Change-Id: I4b157aa1a8572c3a10aece6070e119a292ab8e83
2014-09-04Merge "_GNU_SOURCE implies _BSD_SOURCE and the latest _POSIX_C_SOURCE."Elliott Hughes
2014-09-04_GNU_SOURCE implies _BSD_SOURCE and the latest _POSIX_C_SOURCE.Elliott Hughes
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-04Merge "Load libraries in breadth-first order"Dmitriy Ivanov
2014-09-03Merge "Fix arm64 build"Dmitriy Ivanov
2014-09-03Merge "Add back a dummy arc4random_stir for compatibility."Elliott Hughes
2014-09-03Fix arm64 buildDmitriy Ivanov
Bug: 14611536 Change-Id: I4f7f4d1f5c0a37ef38fa0956778393f8d7668512
2014-09-03Add back a dummy arc4random_stir for compatibility.Elliott Hughes
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-03Merge "Register __libc_fini as early as possible."Dmitriy Ivanov
2014-09-03Register __libc_fini as early as possible.Dmitriy Ivanov
We want __libc_fini to be called after all the destructors. Bug: 14611536 Change-Id: Ibb83a94436795ec178fd605fa531ac29608f4a3e
2014-09-03Merge "Make string tests check all alignment combinations"Dmitriy Ivanov
2014-09-03Load libraries in breadth-first orderDmitriy Ivanov
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-03Merge "Don't fail a test just because we aren't root."Dan Albert
2014-09-03Don't fail a test just because we aren't root.Dan Albert
If the tests are not being run as root, emit a message and don't continue with the test. Change-Id: I352e1a4162caaeb18b81b8daf44797009756dcd9
2014-09-03Merge "Add some missing dlclose(.)"Dmitriy Ivanov
2014-09-02Add some missing dlclose(.)Dmitriy Ivanov
Bug: 17358010 Change-Id: I9e427b7681f1a8fe890b0b47812d9e65ab95c792