OSDN Git Service
Elliott Hughes [Wed, 17 Sep 2014 22:22:32 +0000 (22:22 +0000)]
Merge "Fix some 32-bit-isms in <stdio.h>."
Elliott Hughes [Wed, 20 Aug 2014 19:14:21 +0000 (12:14 -0700)]
Fix some 32-bit-isms in <stdio.h>.
(cherry-pick of
2d80400a9e8454038a3ec29959436184be0c4c65.)
Bug:
17157793
Change-Id: I8290e240b92e5617f4c12c0eacad6e622e677b6a
Elliott Hughes [Wed, 17 Sep 2014 22:18:47 +0000 (22:18 +0000)]
Merge "Pull input.h from v3.16.1 kernel headers."
Christopher Ferris [Sun, 14 Sep 2014 19:08:37 +0000 (12:08 -0700)]
Pull input.h from v3.16.1 kernel headers.
(cherry-pick of
027d2717d067c3706f22bf84dc1226ede7c1566d.)
Bug:
17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
Elliott Hughes [Wed, 17 Sep 2014 17:04:40 +0000 (17:04 +0000)]
Merge "Use the kernel's sa_restorer for aarch64."
Elliott Hughes [Wed, 17 Sep 2014 16:36:46 +0000 (16:36 +0000)]
Merge "Clean up the architecture-specific makefiles."
Dmitriy Ivanov [Wed, 17 Sep 2014 06:36:19 +0000 (06:36 +0000)]
Merge "Fix 64bit build"
Dmitriy Ivanov [Wed, 17 Sep 2014 06:34:20 +0000 (23:34 -0700)]
Fix 64bit build
Change-Id: I6ef55b5951270c46ee5e9a11385bd09e33a9f969
Dmitriy Ivanov [Wed, 17 Sep 2014 05:28:29 +0000 (05:28 +0000)]
Merge "Fix some unused DT_ warnings"
Elliott Hughes [Wed, 17 Sep 2014 02:06:31 +0000 (19:06 -0700)]
Clean up the architecture-specific makefiles.
Group things appropriately and name each group.
Change-Id: I0da45eb0ccde19c31d5e984d0e6eb3dad26630dc
Dmitriy Ivanov [Tue, 16 Sep 2014 22:51:25 +0000 (15:51 -0700)]
Fix some unused DT_ warnings
* DT_PLTGOT - ignored for non-mips
* DT_RELCOUNT/RELACOUNT - ignored
* DT_RELENT/RELAENT - sanity checks
* DT_SYMENT - sanity check
* DT_SONAME - ignore for now.
Change-Id: Ied90748d12f733a84f6c38a1250567a2f77608b7
Elliott Hughes [Tue, 16 Sep 2014 23:45:40 +0000 (23:45 +0000)]
Merge "No arm source refers to SOFTFLOAT."
Elliott Hughes [Tue, 16 Sep 2014 23:27:35 +0000 (16:27 -0700)]
No arm source refers to SOFTFLOAT.
So why bother #defining it?
Change-Id: I539e91916cee082cacac594ddf628419b737fa9d
Elliott Hughes [Tue, 16 Sep 2014 22:49:50 +0000 (15:49 -0700)]
Use the kernel's sa_restorer for aarch64.
gdb was happy with what we had, but libgcc and libunwind weren't.
libgcc is happy with the kernel's restorer (because of the extra nop),
though libunwind looks like it's going to need code changes regardless.
We could make our restorer more like the kernel's one, but why bother
when we can just let the kernel supply the canonical one?
Bug:
17436734
Change-Id: I330fa5e68f23b1cf8133aa552896657b0b873ed3
Dmitriy Ivanov [Tue, 16 Sep 2014 22:37:36 +0000 (22:37 +0000)]
Merge "Remove has_DT_SYMBOLIC flag"
Dmitriy Ivanov [Tue, 16 Sep 2014 21:31:06 +0000 (14:31 -0700)]
Remove has_DT_SYMBOLIC flag
From the elf-spec: "Symbolically bound shared objects are
identified by the .dynamic entry DT_SYMBOLIC. This tag is
informational only; the runtime linker processes symbol
lookups from these objects in the same manner as any
other object."
Change-Id: I4aae0e502ed9fac096fbf076f4d6b2e055d784f6
Elliott Hughes [Tue, 16 Sep 2014 21:17:20 +0000 (21:17 +0000)]
Merge "Fix 32-bit arm unwinding through signal frames."
Elliott Hughes [Tue, 16 Sep 2014 20:57:39 +0000 (13:57 -0700)]
Fix 32-bit arm unwinding through signal frames.
gdb was already okay; libgcc and libunwind need a little extra help.
Bug:
17436734
Change-Id: I1f5108f9877373be078554a1ea4938aa4436204e
Calin Juravle [Tue, 16 Sep 2014 17:31:38 +0000 (17:31 +0000)]
Merge "Add benchmarks for pthread_rw_locks"
Calin Juravle [Tue, 16 Sep 2014 17:01:44 +0000 (18:01 +0100)]
Add benchmarks for pthread_rw_locks
Benchmarks for the following sequences:
1) pthread_rwlock_rdlock -> pthread_rwlock_unlock
2) pthread_rwlock_wrlock -> pthread_rwlock_unlock
Change-Id: I8d87d4d8afab8637ea7ff5d23a0b3a81d6d40835
Elliott Hughes [Tue, 16 Sep 2014 15:19:05 +0000 (15:19 +0000)]
Merge "Fix signal trampolines."
Dmitriy Ivanov [Tue, 16 Sep 2014 01:27:56 +0000 (01:27 +0000)]
Merge "Fix dlsym() to take into account RTLD_GLOBAL/LOCAL"
Dmitriy Ivanov [Tue, 16 Sep 2014 00:00:10 +0000 (17:00 -0700)]
Fix dlsym() to take into account RTLD_GLOBAL/LOCAL
Symbols from libraries opened with RTLD_LOCAL (default)
should not be visible via dlsym(RLTD_DEFAULT/RTLD_NEXT, .)
Bug:
17512583
Change-Id: I1758943081a67cf3d49ba5808e061b8251a91964
Dmitriy Ivanov [Mon, 15 Sep 2014 22:12:06 +0000 (22:12 +0000)]
Merge "Add dlfcn_test to glibc test suite."
Elliott Hughes [Wed, 10 Sep 2014 22:20:40 +0000 (15:20 -0700)]
Fix signal trampolines.
* LP32 should use sa_restorer too. gdb expects this, and future (>= 3.15) x86
kernels will apparently stop supporting the case where SA_RESTORER isn't
set.
* gdb and libunwind care about the exact instruction sequences, so we need to
modify the code slightly in a few cases to match what they're looking for.
* gdb also cares about the exact function names (for some architectures),
so we need to use __restore and __restore_rt rather than __sigreturn and
__rt_sigreturn.
* It's possible that we don't have a VDSO; dl_iterate_phdr shouldn't assume
that getauxval(AT_SYSINFO_EHDR) will return a non-null pointer.
This fixes unwinding through a signal handler in gdb for all architectures.
It doesn't fix libunwind for arm and arm64. I'll keep investigating that...
Bug:
17436734
Change-Id: Ic1ea1184db6655c5d96180dc07bcc09628e647cb
Dmitriy Ivanov [Mon, 15 Sep 2014 21:13:24 +0000 (14:13 -0700)]
Add dlfcn_test to glibc test suite.
Change-Id: I955e4f7dfcc23ea5c767f967b3532dc31663b876
Elliott Hughes [Mon, 15 Sep 2014 17:17:37 +0000 (17:17 +0000)]
Merge "POSIX says <signal.h> gets you ucontext_t."
Dan Albert [Sun, 14 Sep 2014 19:33:43 +0000 (19:33 +0000)]
Merge "Fix filename in comment in cmath"
m4tx [Sun, 14 Sep 2014 14:41:31 +0000 (16:41 +0200)]
Fix filename in comment in cmath
It looks like the file comment was copy-pasted from ctime. Fixed filename in comment to "math.h".
Change-Id: I27b0c2a7827076a91fc7b63913fad6eee4d6a79e
Signed-off-by: m4tx <m4tx@m4tx.pl>
Elliott Hughes [Sat, 13 Sep 2014 17:01:07 +0000 (17:01 +0000)]
Merge "Update NOTICE files."
Elliott Hughes [Sat, 13 Sep 2014 17:00:27 +0000 (17:00 +0000)]
Merge "Remove an unused file."
Elliott Hughes [Sat, 13 Sep 2014 16:42:41 +0000 (09:42 -0700)]
Update NOTICE files.
Change-Id: I37a2c297b318b8e1b1ce8b29a7ccc58ba214708a
Elliott Hughes [Sat, 13 Sep 2014 16:24:28 +0000 (09:24 -0700)]
Remove an unused file.
Also remove a reference to it and two other files that have already
been removed in a script --- these files were problematic because they
weren't UTF-8.
Change-Id: Ibf597bac1903c34d8d0fe0a09615c42f24d4f23d
Elliott Hughes [Sat, 13 Sep 2014 03:04:40 +0000 (20:04 -0700)]
POSIX says <signal.h> gets you ucontext_t.
POSIX also says that ucontext_t's uc_sigmask has type sigset_t.
MIPS64 strace needs this.
The #define is to keep chromium off our lawn; otherwise it tries to redefine
all this stuff itself. We should probably clean that up and remove the #define.
Change-Id: I765d6a765a33dca7db33cd8c40f408dc98e5c95b
Elliott Hughes [Fri, 12 Sep 2014 23:52:13 +0000 (23:52 +0000)]
Merge "Explain why clock(3) isn't broken."
Elliott Hughes [Fri, 12 Sep 2014 23:33:37 +0000 (16:33 -0700)]
Explain why clock(3) isn't broken.
Bug:
17441123
Change-Id: I6ee9b7f54bab55b1a8760ce9bcaaa6eab1dcc492
Elliott Hughes [Fri, 12 Sep 2014 23:13:43 +0000 (23:13 +0000)]
Merge "Get new coshl, sinhl, and tanhl implementations from upstream."
Elliott Hughes [Fri, 12 Sep 2014 23:09:40 +0000 (16:09 -0700)]
Get new coshl, sinhl, and tanhl implementations from upstream.
Change-Id: I92f9cd53d12efb2e0f4f8a9590b9fe42398233f6
Elliott Hughes [Fri, 12 Sep 2014 22:52:38 +0000 (22:52 +0000)]
Merge "Add a test for pthread_gettid_np."
Elliott Hughes [Fri, 12 Sep 2014 21:43:07 +0000 (14:43 -0700)]
Add a test for pthread_gettid_np.
Bug:
17475191
Change-Id: I8c6a2f4ceba2d24a77ae9a21269edce523aea421
Elliott Hughes [Fri, 12 Sep 2014 21:07:48 +0000 (21:07 +0000)]
Merge "Sync libm with upstream."
Elliott Hughes [Fri, 12 Sep 2014 21:00:02 +0000 (14:00 -0700)]
Sync libm with upstream.
Change-Id: I8ac8ee52122ee19a2e423c3211092023cb4896eb
Elliott Hughes [Fri, 12 Sep 2014 18:43:05 +0000 (18:43 +0000)]
Merge "Remove "private/bionic_pthread.h"."
Elliott Hughes [Fri, 12 Sep 2014 18:35:05 +0000 (11:35 -0700)]
Remove "private/bionic_pthread.h".
Bug:
17476168
Change-Id: Id642987e641de81e914a28daea4ffe9d11e090ed
Dmitriy Ivanov [Fri, 12 Sep 2014 16:55:42 +0000 (16:55 +0000)]
Merge "Fix unload of recursively linked library"
Dmitriy Ivanov [Fri, 12 Sep 2014 16:50:29 +0000 (16:50 +0000)]
Merge "Reformatting"
Dmitriy Ivanov [Fri, 12 Sep 2014 16:50:04 +0000 (16:50 +0000)]
Merge "Refactoring: C++11 style DISABLE_ bionic marcos"
Dmitriy Ivanov [Fri, 12 Sep 2014 16:43:13 +0000 (09:43 -0700)]
Reformatting
No functional changes.
Change-Id: If71775e5fc207e91ebd31ba3c5f9d2c13dc8dada
Dmitriy Ivanov [Tue, 9 Sep 2014 17:21:42 +0000 (10:21 -0700)]
Fix unload of recursively linked library
Expanded test for recursive libs. Fixed bug with unnecessary
soinfo_free of already loaded library.
Change-Id: I2cc19f2650c8b12a35feeac127ef608ebba44d88
Elliott Hughes [Fri, 12 Sep 2014 01:27:44 +0000 (01:27 +0000)]
Merge "Expose __swsetup for LP32 binary compatibility."
Elliott Hughes [Thu, 11 Sep 2014 23:41:11 +0000 (16:41 -0700)]
Expose __swsetup for LP32 binary compatibility.
(cherry-pick of
7e00b44e80d6e38b8ab86d0ebc86b666c0ac2ef6.)
Bug:
17476127
Change-Id: I0ef1355ac913d782c268a638f88642d6cfc236c2
Dmitriy Ivanov [Fri, 12 Sep 2014 00:40:11 +0000 (00:40 +0000)]
Merge "Add IFUNC support for arm64 and IRELATIVE reloc"
Dmitriy Ivanov [Thu, 11 Sep 2014 22:16:03 +0000 (15:16 -0700)]
Add IFUNC support for arm64 and IRELATIVE reloc
There are number of changes in the way IFUNC related relocations are done:
1. IRELATIVE relocations are now supported for x86/x86_64 and arm64.
2. IFUNC relocations are now relying on static linker to generate
them in correct order - this removes necessety of additional
relocation pass for ifuncs.
3. Related to 2: rela?.dyn relocations are preformed before .plt ones.
4. Ifunc are resolved on symbol lookup this approach allowed to avoid
mprotect(PROT_WRITE) call on r-x program segments.
Bug:
17399706
Bug:
17177284
Change-Id: I414dd3e82bd47cc03442c5dfc7c279949aec51ed
Elliott Hughes [Thu, 11 Sep 2014 23:25:46 +0000 (23:25 +0000)]
Merge "Add pthread_gettid_np and re-expose __get_thread for LP32."
Elliott Hughes [Thu, 11 Sep 2014 23:11:43 +0000 (16:11 -0700)]
Add pthread_gettid_np and re-expose __get_thread for LP32.
A lot of third-party code calls the private __get_thread symbol,
often as part of a backport of bionic's pthread_rwlock implementation.
Hopefully this will go away for LP64 (since you're guaranteed the
real implementation there), but there are still APIs that take a tid
and no way to convert between a pthread_t and a tid. pthread_gettid_np
is a public API for that. To aid the transition, make __get_thread
available again for LP32.
(cherry-pick of
27efc48814b8153c55cbcd0af5d9add824816e69.)
Bug:
14079438
Change-Id: I43fabc7f1918250d31d4665ffa4ca352d0dbeac1
Elliott Hughes [Thu, 11 Sep 2014 17:12:48 +0000 (17:12 +0000)]
Merge "Fix mips __fadvise64.S build failure."
Elliott Hughes [Thu, 11 Sep 2014 17:10:08 +0000 (10:10 -0700)]
Fix mips __fadvise64.S build failure.
Bug:
12449798
Change-Id: I0663b741108ba2f1d286904d6414b3ff4d475551
Elliott Hughes [Thu, 11 Sep 2014 15:46:44 +0000 (15:46 +0000)]
Merge "Add posix_fadvise(3)."
Elliott Hughes [Thu, 11 Sep 2014 00:39:00 +0000 (17:39 -0700)]
Add posix_fadvise(3).
(cherry-pick of
00008263782e484020420c606f7d145fe7d0a4d8.)
Bug:
12449798
Change-Id: I07cbf3f670a0d1304b68148325a774f266b5c433
Lorenzo Colitti [Tue, 9 Sep 2014 10:22:17 +0000 (10:22 +0000)]
Merge "When comparing DNS server configs, also compare number of servers"
Lorenzo Colitti [Mon, 8 Sep 2014 09:09:43 +0000 (18:09 +0900)]
When comparing DNS server configs, also compare number of servers
Bug:
16070602
Change-Id: I605f1cca50b08479ebcad290b3bd179f59be8a96
Dmitriy Ivanov [Mon, 8 Sep 2014 23:22:22 +0000 (16:22 -0700)]
Refactoring: C++11 style DISABLE_ bionic marcos
Enable the -std=gnu++11 flag for libstdc++ static and
dynamic libs.
ScopeGuard uses DISABLE_ macros instead of '= delete';
Change-Id: I07e21b306f95fffd49345f7fa136cfdac61e0225
Dmitriy Ivanov [Tue, 9 Sep 2014 00:49:37 +0000 (00:49 +0000)]
Merge "Load libraries in breadth-first order"
Elliott Hughes [Mon, 8 Sep 2014 23:47:53 +0000 (23:47 +0000)]
Merge "Ensure __set_errno is still visible on LP32."
Elliott Hughes [Mon, 8 Sep 2014 22:25:01 +0000 (15:25 -0700)]
Ensure __set_errno is still visible on LP32.
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
Elliott Hughes [Mon, 8 Sep 2014 23:46:04 +0000 (23:46 +0000)]
Merge "Don't expose non-standard basename_r and dirname_r in LP64."
Elliott Hughes [Fri, 5 Sep 2014 23:12:42 +0000 (16:12 -0700)]
Don't expose non-standard basename_r and dirname_r in LP64.
(cherry-pick of
f0e9458ea596227720fa745df15f5357f6c0c8f6.)
Bug:
17407423
Change-Id: I47fe499a4c396bf09d7b78fd828728d04777398b
Dmitriy Ivanov [Fri, 5 Sep 2014 23:42:53 +0000 (16:42 -0700)]
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: If1ba5c807322409faa914e27ecb675e2c4541f0d
Attempt: 2
Elliott Hughes [Mon, 8 Sep 2014 17:53:03 +0000 (17:53 +0000)]
Merge "Add arc4random_addrandom binary compatibility."
Elliott Hughes [Mon, 8 Sep 2014 17:25:33 +0000 (10:25 -0700)]
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
Christopher Ferris [Sat, 6 Sep 2014 20:17:02 +0000 (20:17 +0000)]
Merge "Add dlmalloc_usable_size for 32 bit arches."
Christopher Ferris [Fri, 5 Sep 2014 23:39:22 +0000 (16:39 -0700)]
Add dlmalloc_usable_size for 32 bit arches.
Bug:
17337831
(cherry picked from commit
1c365cb494d8cab1b639ecef21514425647e606b)
Change-Id: Ice100e42eeac4b9c3b77737a546ec33174adcb2f
Ying Wang [Fri, 5 Sep 2014 23:41:25 +0000 (23:41 +0000)]
Merge "Use LOCAL_POST_LINK_CMD to insert the objcopy command for linker."
Dmitriy Ivanov [Fri, 5 Sep 2014 23:36:22 +0000 (23:36 +0000)]
Merge "Revert "Load libraries in breadth-first order""
Dmitriy Ivanov [Fri, 5 Sep 2014 21:57:59 +0000 (14:57 -0700)]
Revert "Load libraries in breadth-first order"
This reverts commit
a3ad450a2e3fb6b3fe359683b247eba20896f646.
Change-Id: Ia2b838ad2159c643b80c514849582f4b4f4f40e5
Ying Wang [Fri, 5 Sep 2014 22:42:12 +0000 (15:42 -0700)]
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
Dmitriy Ivanov [Fri, 5 Sep 2014 23:11:18 +0000 (23:11 +0000)]
Merge "Fix order of soinfo links (repairs libcxx tests)."
Dmitriy Ivanov [Fri, 5 Sep 2014 01:23:00 +0000 (18:23 -0700)]
Fix order of soinfo links (repairs libcxx tests).
Change-Id: Iee9de09657351cd6a7512784ca797e4b84cdd98b
Chih-Hung Hsieh [Fri, 5 Sep 2014 18:54:48 +0000 (18:54 +0000)]
Merge "Enable clang compilation with libc but not linker."
Chih-Hung Hsieh [Thu, 4 Sep 2014 22:19:52 +0000 (15:19 -0700)]
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
Dmitriy Ivanov [Fri, 5 Sep 2014 01:56:44 +0000 (01:56 +0000)]
Merge "Reset enviroment for math_tests"
Dmitriy Ivanov [Thu, 4 Sep 2014 19:47:07 +0000 (12:47 -0700)]
Reset enviroment for math_tests
Bug:
17390824
Change-Id: I42f4c8d9199a2efe7641f0b0e64580cacb5695da
Elliott Hughes [Thu, 4 Sep 2014 23:20:53 +0000 (23:20 +0000)]
Merge "Fix pthread_attr_getstack__main_thread."
Elliott Hughes [Thu, 4 Sep 2014 23:09:25 +0000 (16:09 -0700)]
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
Elliott Hughes [Thu, 4 Sep 2014 22:48:15 +0000 (22:48 +0000)]
Merge "Fix mips signed/unsigned signal_test.cpp build breakage."
Elliott Hughes [Thu, 4 Sep 2014 22:43:10 +0000 (15:43 -0700)]
Fix mips signed/unsigned signal_test.cpp build breakage.
Change-Id: I045ce017c0c51e1843193759a2eb6fc5b93e3867
Dmitriy Ivanov [Thu, 4 Sep 2014 21:55:59 +0000 (21:55 +0000)]
Merge "Revert "Register __libc_fini as early as possible.""
Dmitriy Ivanov [Thu, 4 Sep 2014 21:55:55 +0000 (21:55 +0000)]
Merge "Revert "Fix arm64 build""
Dmitriy Ivanov [Thu, 4 Sep 2014 21:54:34 +0000 (21:54 +0000)]
Revert "Register __libc_fini as early as possible."
This reverts commit
e880c736d6c1d947f6309d5f1f63c74e8345c6a6.
Change-Id: Ide83e442eb5dbfef5298a15bc602c3fe1dda1862
Dmitriy Ivanov [Thu, 4 Sep 2014 21:53:14 +0000 (21:53 +0000)]
Revert "Fix arm64 build"
This reverts commit
5c1a7fdbd5a085024019b4c9307d2b2ace35df5e.
Change-Id: Ia5fea0d6a8f59700edce0742e2271b5f02a5d87c
Elliott Hughes [Thu, 4 Sep 2014 21:03:33 +0000 (21:03 +0000)]
Merge "Don't mask out SA_RESTORER from sa_flags."
Elliott Hughes [Thu, 4 Sep 2014 20:54:42 +0000 (13:54 -0700)]
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
Chih-Hung Hsieh [Thu, 4 Sep 2014 20:44:34 +0000 (20:44 +0000)]
Merge "Disable Clang, due to x86 LDBL_MANT_DIG errors."
Chih-Hung Hsieh [Thu, 4 Sep 2014 19:35:19 +0000 (12:35 -0700)]
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
Elliott Hughes [Thu, 4 Sep 2014 17:02:10 +0000 (17:02 +0000)]
Merge "_GNU_SOURCE implies _BSD_SOURCE and the latest _POSIX_C_SOURCE."
Elliott Hughes [Thu, 4 Sep 2014 15:52:38 +0000 (08:52 -0700)]
_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
Dmitriy Ivanov [Thu, 4 Sep 2014 00:59:22 +0000 (00:59 +0000)]
Merge "Load libraries in breadth-first order"
Dmitriy Ivanov [Wed, 3 Sep 2014 23:36:34 +0000 (23:36 +0000)]
Merge "Fix arm64 build"
Elliott Hughes [Wed, 3 Sep 2014 23:34:04 +0000 (23:34 +0000)]
Merge "Add back a dummy arc4random_stir for compatibility."
Dmitriy Ivanov [Wed, 3 Sep 2014 23:33:08 +0000 (16:33 -0700)]
Fix arm64 build
Bug:
14611536
Change-Id: I4f7f4d1f5c0a37ef38fa0956778393f8d7668512