OSDN Git Service
Jaesung Chung [Mon, 19 Jun 2017 00:22:55 +0000 (00:22 +0000)]
Merge "linker_config_test: allow search paths of systems without a vendor partition" am:
b1b7eda11e
am:
12b44daa11
Change-Id: I7ec1a1f6a541cfd951093a63da175f521babcb4d
Jaesung Chung [Mon, 19 Jun 2017 00:17:53 +0000 (00:17 +0000)]
Merge "linker_config_test: allow search paths of systems without a vendor partition"
am:
b1b7eda11e
Change-Id: I152653f74c88f37dd143129770df737823e83aa9
Jaesung Chung [Mon, 19 Jun 2017 00:13:07 +0000 (00:13 +0000)]
Merge "linker_config_test: allow search paths of systems without a vendor partition"
Jaesung Chung [Fri, 16 Jun 2017 05:43:16 +0000 (14:43 +0900)]
linker_config_test: allow search paths of systems without a vendor partition
linker_config#smoke and linker_config.asan_smoke are trying to find
paths under the /vendor directory. If there is no vendor partition,
the real path of them is started with /system/vendor.
This CL allows those paths in the tests by getting the resolved paths
for systems without a vendor partition.
Bug: http://b/
62562515
Test: linker_config_test passes without a vendor partition.
Change-Id: Id6d16ef623efd81ab9083c3e819da2ad22a28bf8
Dan Albert [Fri, 16 Jun 2017 22:59:00 +0000 (22:59 +0000)]
Merge "Add sys/stat.h compatibility macros for old NDKs." am:
42edca036e
am:
e4ef3b16a9
Change-Id: I82c96f326f5d6df665f104f3467c011230f7f207
Dan Albert [Fri, 16 Jun 2017 22:57:00 +0000 (22:57 +0000)]
Merge "Add sys/stat.h compatibility macros for old NDKs."
am:
42edca036e
Change-Id: I634e7e8aac284439aee23a575ba6ce4deb3749c4
Treehugger Robot [Fri, 16 Jun 2017 22:51:58 +0000 (22:51 +0000)]
Merge "Add sys/stat.h compatibility macros for old NDKs."
Elliott Hughes [Fri, 16 Jun 2017 21:15:55 +0000 (21:15 +0000)]
Merge "Remove obsolete <machine/cpu-features.h>." am:
fed32937eb
am:
74fee38201
Change-Id: I8b47bd4b93d5b520efd1fe7ee2397b0c7a8f21f4
Elliott Hughes [Fri, 16 Jun 2017 21:10:00 +0000 (21:10 +0000)]
Merge "Add #defines for some key enums." am:
0c44c05166
am:
ed283e7926
Change-Id: I1324ac46c7bd0212fad673f2bd463b568a3e9967
Elliott Hughes [Fri, 16 Jun 2017 21:09:54 +0000 (21:09 +0000)]
Merge "Remove obsolete <machine/cpu-features.h>."
am:
fed32937eb
Change-Id: If5eedf8f35852a13c774436fea54c814136eba64
Treehugger Robot [Fri, 16 Jun 2017 21:04:10 +0000 (21:04 +0000)]
Merge "Remove obsolete <machine/cpu-features.h>."
Elliott Hughes [Fri, 16 Jun 2017 21:03:53 +0000 (21:03 +0000)]
Merge "Add #defines for some key enums."
am:
0c44c05166
Change-Id: Iec7290eef0a640aee6e3cd7ef0d6928ad96a9325
Elliott Hughes [Fri, 16 Jun 2017 20:56:03 +0000 (20:56 +0000)]
Merge "Add #defines for some key enums."
Elliott Hughes [Fri, 16 Jun 2017 18:05:16 +0000 (11:05 -0700)]
Remove obsolete <machine/cpu-features.h>.
This is no longer used in the platform, and shouldn't be used in NDK. Apps
should use the NDK's cpu-features module, which supports (a) more specific
queries and (b) all Android architectures, not just 32-bit ARM.
Bug: http://b/
18556103
Test: builds
Change-Id: I544ef267a6d7d887223186180c77d9ad0321e605
Christopher Ferris [Fri, 16 Jun 2017 16:49:32 +0000 (16:49 +0000)]
Merge "Add benchmarks for strcpy and strcmp." am:
f0ee60a434
am:
c14d111d0a
Change-Id: If4819b901090d531b2dbd9f8eebd69dc46fae935
Christopher Ferris [Fri, 16 Jun 2017 16:45:36 +0000 (16:45 +0000)]
Merge "Add benchmarks for strcpy and strcmp."
am:
f0ee60a434
Change-Id: Iaf2bf4b178e9b5b1d2ac284326424d1cfa458661
Christopher Ferris [Fri, 16 Jun 2017 16:40:01 +0000 (16:40 +0000)]
Merge "Add benchmarks for strcpy and strcmp."
Elliott Hughes [Fri, 16 Jun 2017 14:51:52 +0000 (14:51 +0000)]
Merge "libc: warn that cpu-features.h is deprecated" am:
ae837f2e59
am:
9dff1b8d72
Change-Id: I5fdb2983844f3a91c8c33bf645f15b004e622d21
Elliott Hughes [Fri, 16 Jun 2017 14:47:52 +0000 (14:47 +0000)]
Merge "libc: warn that cpu-features.h is deprecated"
am:
ae837f2e59
Change-Id: Icc677036ea3417b46c9336321391177a85bd1b80
Elliott Hughes [Fri, 16 Jun 2017 14:40:08 +0000 (14:40 +0000)]
Merge "libc: warn that cpu-features.h is deprecated"
Christopher Ferris [Thu, 15 Jun 2017 23:23:14 +0000 (23:23 +0000)]
Merge "Update posix_memalign testing." am:
b33accf799
am:
4d8149bf9e
Change-Id: I38858d0e49f5ad01dce7a7965697401abe399a5a
Christopher Ferris [Thu, 15 Jun 2017 23:19:44 +0000 (23:19 +0000)]
Merge "Update posix_memalign testing."
am:
b33accf799
Change-Id: Ia1996497aae5152268af9f5453bbce11e1b46971
Christopher Ferris [Thu, 15 Jun 2017 23:11:48 +0000 (23:11 +0000)]
Merge "Update posix_memalign testing."
Elliott Hughes [Thu, 15 Jun 2017 22:12:29 +0000 (15:12 -0700)]
Add #defines for some key enums.
Building ruby actually trips over both of these:
* if the RTLD_ constants aren't #defined, it uses its own incorrect values.
* if the REG_ constants aren't #defined, it confuses x86 with x86-64.
In all other places where we have enums in our headers, we already match
existing glibc practice.
Bug: http://b/
62531921
Test: builds
Change-Id: I5b3aab25a1a24611bdc58f2eda4104a78e9f841c
Elliott Hughes [Thu, 15 Jun 2017 21:45:07 +0000 (21:45 +0000)]
Merge "Move a <wchar.h> implementation detail into the implementation." am:
0bd23e4706
am:
1c9325d8f7
Change-Id: I26bb23ea144f72cf3922a390554cf3179b663b51
Elliott Hughes [Thu, 15 Jun 2017 21:41:43 +0000 (21:41 +0000)]
Merge "Move a <wchar.h> implementation detail into the implementation."
am:
0bd23e4706
Change-Id: I5c12ea0f95a54833e9a75269bf9470b45e32d306
Elliott Hughes [Thu, 15 Jun 2017 21:30:06 +0000 (21:30 +0000)]
Merge "Move a <wchar.h> implementation detail into the implementation."
Christopher Ferris [Thu, 15 Jun 2017 20:30:44 +0000 (13:30 -0700)]
Update posix_memalign testing.
Move all tests into stdlib_test.cpp since that's where the definition lives
in bionic.
Add a sweep test and a various size test.
Test: Run new unit tests on glibc and angler.
Change-Id: Ief1301f402bea82ce90240500dd6a01636dbdbae
Christopher Ferris [Thu, 15 Jun 2017 20:50:14 +0000 (20:50 +0000)]
Merge "Add copy-only, seek-only, and copy-and-seek benchmarks for strcat" am:
6c2e8e0227
am:
8eda774085
Change-Id: Ic76704eba3fe43e5f1587ba437a317472fed451d
Christopher Ferris [Thu, 15 Jun 2017 20:44:24 +0000 (20:44 +0000)]
Merge "Add copy-only, seek-only, and copy-and-seek benchmarks for strcat"
am:
6c2e8e0227
Change-Id: Ib4db02cf474c258aedac1bf60fe7177d8346b663
Christopher Ferris [Thu, 15 Jun 2017 20:34:54 +0000 (20:34 +0000)]
Merge "Add copy-only, seek-only, and copy-and-seek benchmarks for strcat"
Miodrag Dinic [Thu, 15 Jun 2017 18:33:52 +0000 (18:33 +0000)]
Merge "MIPS64: move fstat64/fstatat64/_flush_cache syscalls to SECCOMP_WHITELIST.TXT" am:
6202089778
am:
9e7e53be0d
Change-Id: I16b98d8165aa9b590de2269cf5f4ec67062d69e0
Miodrag Dinic [Thu, 15 Jun 2017 18:30:52 +0000 (18:30 +0000)]
Merge "MIPS64: move fstat64/fstatat64/_flush_cache syscalls to SECCOMP_WHITELIST.TXT"
am:
6202089778
Change-Id: Id4e5e2b9093d6b931168eded6f998d65545b001b
Treehugger Robot [Thu, 15 Jun 2017 18:21:12 +0000 (18:21 +0000)]
Merge "MIPS64: move fstat64/fstatat64/_flush_cache syscalls to SECCOMP_WHITELIST.TXT"
Elliott Hughes [Thu, 15 Jun 2017 17:36:43 +0000 (10:36 -0700)]
Move a <wchar.h> implementation detail into the implementation.
No other C library expose these, and I couldn't find any callers.
Bug: http://b/
62531921
Test: builds
Change-Id: I4a3505bc0897286a4036c48066b98d16665b573a
Dan Albert [Thu, 15 Jun 2017 16:27:42 +0000 (16:27 +0000)]
Merge "Expose pthread_mutex_lock_timeout_np to the NDK." am:
a09953e1a8
am:
ccdb45f0d5
Change-Id: If4ef33e47c27dca9d8e06354a4a52ca047e2a97e
Dan Albert [Thu, 15 Jun 2017 16:24:14 +0000 (16:24 +0000)]
Merge "Expose pthread_mutex_lock_timeout_np to the NDK."
am:
a09953e1a8
Change-Id: Ic8117f6a86d8758e353f3a8e81d44d591dbe2129
Treehugger Robot [Thu, 15 Jun 2017 16:15:22 +0000 (16:15 +0000)]
Merge "Expose pthread_mutex_lock_timeout_np to the NDK."
Elliott Hughes [Thu, 15 Jun 2017 15:15:39 +0000 (15:15 +0000)]
Merge "Don't use the overloadable attribute if we're not fortified." am:
112581a5e0
am:
679913b7e1
Change-Id: I71a083c18b2a2a6213d16803ced588a875d9352a
Elliott Hughes [Thu, 15 Jun 2017 15:12:09 +0000 (15:12 +0000)]
Merge "Don't use the overloadable attribute if we're not fortified."
am:
112581a5e0
Change-Id: I46f095dfb3d06974c0e8eafe6a3b3f3ebd8c4631
Elliott Hughes [Thu, 15 Jun 2017 15:06:34 +0000 (15:06 +0000)]
Merge "Don't use the overloadable attribute if we're not fortified."
Nicolas Geoffray [Thu, 15 Jun 2017 09:13:38 +0000 (09:13 +0000)]
Merge "Move libc/zoneinfo/ files to system/timezone" am:
67f03e0687
am:
8155a8d9eb
Change-Id: I2558d6a1ba38475680de06432539a4bfe9048a90
Nicolas Geoffray [Thu, 15 Jun 2017 09:10:37 +0000 (09:10 +0000)]
Merge "Move libc/zoneinfo/ files to system/timezone"
am:
67f03e0687
Change-Id: Idbe9bfdae677dd3d4c74fb0e4ade623c7bae3809
Nicolas Geoffray [Thu, 15 Jun 2017 09:05:31 +0000 (09:05 +0000)]
Merge "Move libc/zoneinfo/ files to system/timezone"
Miodrag Dinic [Mon, 12 Jun 2017 08:52:12 +0000 (10:52 +0200)]
MIPS64: move fstat64/fstatat64/_flush_cache syscalls to SECCOMP_WHITELIST.TXT
fstat64/fstatat64/_flush_cache were accidentally put in SYSCALLS.TXT in:
https://android-review.googlesource.com/#/c/390454/
This patch just moves them to SECCOMP_WHITELIST.TXT because we do not
want stubs accidenatally generated for the mentioned syscalls using
gensyscalls.py script.
This commit does not introduce any functional changes to mips64_policy.cpp.
Test: Run genseccomp.py -> File seccomp/mips64_policy.cpp not changed.
Test: Run gensyscalls.py -> INFO:root:no changes detected!
Change-Id: I3b527b3d9f18715c44a4e6ddc6db6e49f48f4890
Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com>
Elliott Hughes [Thu, 15 Jun 2017 02:52:21 +0000 (02:52 +0000)]
Merge "Add <sys/mtio.h>." am:
3ad08dbe29
am:
9a846674d6
Change-Id: I91e0b2b75320f192c776f096253ac8cf93faeb4b
Elliott Hughes [Thu, 15 Jun 2017 02:49:21 +0000 (02:49 +0000)]
Merge "Add <sys/mtio.h>."
am:
3ad08dbe29
Change-Id: Ifcb04bbee62af0afe870f840230158e53b749bec
Treehugger Robot [Thu, 15 Jun 2017 02:40:33 +0000 (02:40 +0000)]
Merge "Add <sys/mtio.h>."
Anders Lewis [Mon, 12 Jun 2017 19:33:06 +0000 (12:33 -0700)]
Add benchmarks for strcpy and strcmp.
Test: Ran benchmarks and verified that runtimes were sensible.
Change-Id: I609e3261503a015bfd4982767fef3ce56141aebc
Elliott Hughes [Thu, 15 Jun 2017 00:16:05 +0000 (17:16 -0700)]
Add <sys/mtio.h>.
In a similar style to some of our other "not really, but enough" headers
like <sys/vt.h>.
Bug: N/A
Test: build GNU dd or BSD dd with a standalone toolchain
Change-Id: I8fbd1aac1d97e24b05e7aae8a55666300b5bf1ed
Elliott Hughes [Wed, 14 Jun 2017 23:54:32 +0000 (16:54 -0700)]
Don't use the overloadable attribute if we're not fortified.
See code comment.
Bug: N/A
Test: building bash and binutils with a standalone toolchain
Change-Id: I73b5d55716072ca1b03b1b0157d65cb1ceb22841
Anders Lewis [Mon, 12 Jun 2017 18:24:01 +0000 (11:24 -0700)]
Add copy-only, seek-only, and copy-and-seek benchmarks for strcat
Test: Ran benchmarks and verified that runtimes were sensible.
Change-Id: I6da3aaea0ba4817662534b24873993589385e6c5
Dan Albert [Mon, 12 Jun 2017 21:59:38 +0000 (14:59 -0700)]
Add sys/stat.h compatibility macros for old NDKs.
Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/417
Change-Id: I04fdb2f31131e87907adab9f3264b783917de542
Neil Fuller [Mon, 12 Jun 2017 15:57:29 +0000 (16:57 +0100)]
Move libc/zoneinfo/ files to system/timezone
Move libc/zoneinfo/ files to system/timezone.
Bug:
31008728
Bug:
36882778
Test: make -j30 droid / boot device
Merged-In: I1d75b0be12b41258f89614b92c1ef68aa7ebfaf9
Change-Id: I1d75b0be12b41258f89614b92c1ef68aa7ebfaf9
Elliott Hughes [Wed, 14 Jun 2017 01:03:36 +0000 (01:03 +0000)]
Merge "Remove `volatile` from the `__errno` declaration." am:
7f6bcc4780
am:
ccc97f46d3
Change-Id: Ied1902ae342999dc7e344528570793d711946d3c
Elliott Hughes [Wed, 14 Jun 2017 00:59:35 +0000 (00:59 +0000)]
Merge "Remove `volatile` from the `__errno` declaration."
am:
7f6bcc4780
Change-Id: I8de9106d38f5db7ae0d916a66158abc09bddc064
Treehugger Robot [Wed, 14 Jun 2017 00:44:31 +0000 (00:44 +0000)]
Merge "Remove `volatile` from the `__errno` declaration."
Elliott Hughes [Tue, 13 Jun 2017 23:38:00 +0000 (23:38 +0000)]
Merge "The bsd_signal declaration shouldn't be visible if API > 21." am:
87d1df9f70
am:
4b0624bdde
Change-Id: I1ffd5a24d68bbd971a9ed28c3ee19bd7a884cc5e
Elliott Hughes [Tue, 13 Jun 2017 23:32:31 +0000 (23:32 +0000)]
Merge "The bsd_signal declaration shouldn't be visible if API > 21."
am:
87d1df9f70
Change-Id: Iad77ecd192c6c7d9564f8821463a4a5210090755
Treehugger Robot [Tue, 13 Jun 2017 23:20:38 +0000 (23:20 +0000)]
Merge "The bsd_signal declaration shouldn't be visible if API > 21."
Elliott Hughes [Tue, 13 Jun 2017 21:43:53 +0000 (14:43 -0700)]
Remove `volatile` from the `__errno` declaration.
This breaks code that declares `errno` itself for whatever crazy reason:
b.c:22:12: error: conflicting types for '__errno'
extern int errno;
^
/usr/local/google/ndkports/toolchain/bin/../sysroot/usr/include/errno.h:47:20: note: expanded from macro 'errno'
#define errno (*__errno())
^
/usr/local/google/ndkports/toolchain/bin/../sysroot/usr/include/errno.h:44:15: note: previous declaration is here
volatile int* __errno(void) __attribute_const__;
^
Bug: N/A
Test: built various bits of GNU source
Change-Id: I27c03bf3bde419a001f98f1ea6c267c847f31271
Elliott Hughes [Tue, 13 Jun 2017 21:29:15 +0000 (14:29 -0700)]
The bsd_signal declaration shouldn't be visible if API > 21.
This causes GNU make to fail to build:
main.o:main.c:(.text+0x18c): more undefined references to `bsd_signal' follow
Bug: N/A
Test: built GNU make with a hacked standalone toolchain
Change-Id: Icdfb4cf674df8abed44f6671454bed9f8d68e74b
Xin Li [Tue, 13 Jun 2017 20:56:44 +0000 (20:56 +0000)]
Merge "libc: Sync qsort(3) with FreeBSD revision r318515." am:
017ee76b15
am:
d36052b8ec
Change-Id: I5ff8510d83d2630336a923e53ce7bf6454339f50
Xin Li [Tue, 13 Jun 2017 20:48:41 +0000 (20:48 +0000)]
Merge "libc: Sync qsort(3) with FreeBSD revision r318515."
am:
017ee76b15
Change-Id: I5e4747af2f6214144f5f0c2d190e11648938f781
Treehugger Robot [Tue, 13 Jun 2017 20:33:48 +0000 (20:33 +0000)]
Merge "libc: Sync qsort(3) with FreeBSD revision r318515."
Xin Li [Fri, 19 May 2017 17:13:08 +0000 (10:13 -0700)]
libc: Sync qsort(3) with FreeBSD revision r318515.
r279663: enhance to handle 32-bit aligned data on 64-bit systems
r279666: qsort(3): small style(9) cleanups.
r288030: Use ANSI C prototypes. Eliminates -Wold-style-definition
warnings.
r318514: Use size_t.
r318515: Reduce the possible recursion level to log2(N) by always
recursing on the smaller partition instead.
Bug:
38450217
Test: builds, ./tests/run-on-host.sh 64
Change-Id: Ieb622e6f54f8f6d6f62e1bdb491d3b5c8e2f9965
Christopher Ferris [Tue, 13 Jun 2017 18:14:10 +0000 (18:14 +0000)]
Merge "Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests." am:
2d36be5912
am:
ab8635ede1
Change-Id: I21653be4a773100e26efa4aaf3d952eddd4df813
Christopher Ferris [Tue, 13 Jun 2017 18:10:37 +0000 (18:10 +0000)]
Merge "Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests."
am:
2d36be5912
Change-Id: Ia2fa181323be71cdcf6f3c21380afb2d3db0af1d
Christopher Ferris [Tue, 13 Jun 2017 18:05:01 +0000 (18:05 +0000)]
Merge "Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests."
Dan Albert [Mon, 12 Jun 2017 21:17:49 +0000 (14:17 -0700)]
Expose pthread_mutex_lock_timeout_np to the NDK.
The proper API for this isn't available until L, so expose this for
API levels earlier than that.
Test: make checkbuild
Bug: https://github.com/android-ndk/ndk/issues/420
Change-Id: I382b8f557be9530f3e13aaae353b4a6e7f9301ab
Anders Lewis [Wed, 7 Jun 2017 20:00:38 +0000 (13:00 -0700)]
Split memmove benchmark into separate overlapping (src before dst and dst before src) and non-overlapping tests.
Test: Ran benchmarks and verified that runtimes were sensible.
Change-Id: Ia7fbc5596dfdc162fff2364f4ef6dafe5549b907
Josh Gao [Fri, 9 Jun 2017 06:06:56 +0000 (06:06 +0000)]
Merge "Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing." am:
4f61181428
am:
b466d39c40
Change-Id: Ia5c40bf1231e3a525532832e6509277b7d833401
Josh Gao [Fri, 9 Jun 2017 06:04:56 +0000 (06:04 +0000)]
Merge "Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing."
am:
4f61181428
Change-Id: I01c94d0e2e008929cd040f2712225ed5d1a20281
Josh Gao [Fri, 9 Jun 2017 06:01:24 +0000 (06:01 +0000)]
Merge "Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing."
Matthias Hausner [Sat, 3 Jun 2017 21:20:40 +0000 (21:20 +0000)]
bionic: tests: only test falloc_punch on ext4
am:
47a52109a4
Change-Id: Ie12666653eaf324dc6d93f09d20000e3d8a87281
Christopher Ferris [Fri, 2 Jun 2017 22:16:11 +0000 (22:16 +0000)]
Merge "Use libdemangle for function names." am:
5c76fec282 am:
0b65dc85ac
am:
734a59577e
Change-Id: I67d5acc79f0ebc5a6568cb5918de058dbde13e54
Christopher Ferris [Fri, 2 Jun 2017 22:12:12 +0000 (22:12 +0000)]
Merge "Use libdemangle for function names." am:
5c76fec282
am:
0b65dc85ac
Change-Id: I78957fcc07495269d5d6ac924c7cde64f5edb8c8
Christopher Ferris [Fri, 2 Jun 2017 22:09:10 +0000 (22:09 +0000)]
Merge "Use libdemangle for function names."
am:
5c76fec282
Change-Id: Iabe599c79e7662594a32431aad12d711f9c0e4dc
Christopher Ferris [Fri, 2 Jun 2017 22:02:53 +0000 (22:02 +0000)]
Merge "Use libdemangle for function names."
Josh Gao [Fri, 2 Jun 2017 21:57:49 +0000 (14:57 -0700)]
Explain why we have a test that FALLOC_FL_PUNCH_HOLE is missing.
Change-Id: I7388f2e0bc419f195247a1d3e73195cb4d199d5c
Test: none
Matthias Hausner [Fri, 2 Jun 2017 17:09:19 +0000 (10:09 -0700)]
bionic: tests: only test falloc_punch on ext4
Test fcntl#falloc_punch is wrong. It checks that fallocate() with mode
FALLOC_FL_PUNCH_HOLE fails on ext4 file system on older kernels. The
test fails to ensure that the file it creates is indeed on an ext4
partition. On an Angelfish device for example, the file is created on an
f2fs partition, which supports FALLOC_FL_PUNCH_HOLE, and thus the test
fails (wrongly).
Change-Id: I23c1ba4d0fcee81551531779e93ac3d5e19ba1d7
Fixes:
62220977
Test: run bionic-unit-tests as per bionic/README.md###Device tests
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Christopher Ferris [Thu, 1 Jun 2017 21:16:32 +0000 (14:16 -0700)]
Use libdemangle for function names.
Bug:
62141808
Test: Ran unit tests, ran malloc debug with leaks and verified functions
Test: are demangled.
Change-Id: I1900632e9a55bb818b1aabc798224ff3eebc1fca
Jake Weinstein [Tue, 11 Apr 2017 05:24:22 +0000 (01:24 -0400)]
libc: warn that cpu-features.h is deprecated
Test: mm
Change-Id: I39668fc75e72004224e35ac9e7d6ffc858df2169
Elliott Hughes [Thu, 1 Jun 2017 23:49:11 +0000 (23:49 +0000)]
Merge "Fix boost build with unified headers." am:
498b4de964 am:
799a5c4121
am:
0c12408773
Change-Id: Ic6f893ce4675e42935af9919be79988fe319a9ad
Elliott Hughes [Thu, 1 Jun 2017 23:41:09 +0000 (23:41 +0000)]
Merge "Fix boost build with unified headers." am:
498b4de964
am:
799a5c4121
Change-Id: I3e13ef7804daa5d15aa3f51ef9402fe48cccdec4
Elliott Hughes [Thu, 1 Jun 2017 23:37:39 +0000 (23:37 +0000)]
Merge "Fix boost build with unified headers."
am:
498b4de964
Change-Id: I5cd210231b3c254e272ad0db5d77f02dad5466b9
Treehugger Robot [Thu, 1 Jun 2017 23:30:56 +0000 (23:30 +0000)]
Merge "Fix boost build with unified headers."
Elliott Hughes [Thu, 1 Jun 2017 21:08:58 +0000 (14:08 -0700)]
Fix boost build with unified headers.
boost (1.64.0 at least) assumes that if you have POSIX_MADV_NORMAL, you have
posix_madvise. With unified headers, this isn't true. Rather than make life
harder for projects that don't use configure, just make it so. We already
applied similar workarounds for epoll_create1 and inotify_init1.
Bug: https://github.com/android-ndk/ndk/issues/395
Test: built boost (long story!)
Change-Id: I5d2d8de7b30921dde913251d35dcd249a2876f94
Goran Ferenc [Thu, 1 Jun 2017 17:59:47 +0000 (17:59 +0000)]
Merge "MIPS: 32/64-bit VDSO support" am:
72c8fce6c9 am:
d32465b255
am:
85fb061c24
Change-Id: Idc1b6422a1c3213d0c746e135f6c15b49fc5dbc8
Goran Ferenc [Thu, 1 Jun 2017 17:56:43 +0000 (17:56 +0000)]
Merge "MIPS: 32/64-bit VDSO support" am:
72c8fce6c9
am:
d32465b255
Change-Id: I9679f0f032d463fbde8996a9174938476f10d276
Goran Ferenc [Thu, 1 Jun 2017 17:54:12 +0000 (17:54 +0000)]
Merge "MIPS: 32/64-bit VDSO support"
am:
72c8fce6c9
Change-Id: I51eb897eae07978233f49cc2dce292df98a5daf1
Treehugger Robot [Thu, 1 Jun 2017 17:44:40 +0000 (17:44 +0000)]
Merge "MIPS: 32/64-bit VDSO support"
Christopher Ferris [Thu, 1 Jun 2017 15:56:03 +0000 (15:56 +0000)]
Move mallopt to correct section.
am:
8d88abc6c6 -s ours
Change-Id: Ifca710e9b54519033f4beee5c5bcf92b1fdffbe1
Goran Ferenc [Tue, 30 May 2017 14:00:41 +0000 (16:00 +0200)]
MIPS: 32/64-bit VDSO support
File libc/SYSCALLS.TXT is updated to generate bionic's system call wrappers
for clock_gettime() & gettimeofday() that will be called if kernel vdso
implementations fail to execute.
The system call wrappers are generated using a python script gensyscalls.py.
Since all architectures support vdso now, there is no more need for conditional
statements regarding supported architectures in libc/bionic/vdso.cpp &
libc/private/bionic_vdso.h files.
Test: builds
Change-Id: I7213f29c179a7929851499d78a72900638ae861a
Signed-off-by: Goran Ferenc <goran.ferenc@imgtec.com>
Dimitry Ivanov [Thu, 1 Jun 2017 07:24:29 +0000 (07:24 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry" am:
533cf06474 am:
1e55a0420e
am:
c27ac0df9b
Change-Id: Ida956645eaf002113587960e931acc570e44c7a3
Dimitry Ivanov [Thu, 1 Jun 2017 07:22:28 +0000 (07:22 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry" am:
533cf06474
am:
1e55a0420e
Change-Id: I80c1b5f9169c5d7ae7e139d52643fce981c2f7a3
Dimitry Ivanov [Thu, 1 Jun 2017 07:20:27 +0000 (07:20 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry"
am:
533cf06474
Change-Id: I80e365b464ca7326da3c3d3a0f0bdf3dac5921c7
Treehugger Robot [Thu, 1 Jun 2017 07:16:11 +0000 (07:16 +0000)]
Merge "Make dl_iterate_phdr return correct name for first entry"
Dimitry Ivanov [Wed, 31 May 2017 22:07:41 +0000 (15:07 -0700)]
Make dl_iterate_phdr return correct name for first entry
Test: bionic-unit-tests --gtest_filter=link*
Change-Id: Ib3f1e0fbc76fed9a5f27ffdd9bbf847a3e8d3665
Christopher Ferris [Wed, 31 May 2017 18:00:18 +0000 (11:00 -0700)]
Move mallopt to correct section.
Bug:
62202823
Test: Built and built unit tests.
(cherry picked from commit
488eb8b7d2fb7a51c90664ae0baea75b7280cddd)
Change-Id: Iae82f77ed84a42f3859d861b533fd7945e2d40d9