OSDN Git Service
Dmitriy Ivanov [Wed, 19 Nov 2014 01:26:31 +0000 (17:26 -0800)]
Yet another relocation test
This time we check if a -> b -> c function in 'a' relocates against
implementation in 'c'.
Change-Id: I528180c3efd346bd447ea0237e5a8a0ac3cc031f
Dmitriy Ivanov [Tue, 18 Nov 2014 21:25:37 +0000 (21:25 +0000)]
Merge "Fix jump to unmapped memory on atexit"
Dmitriy Ivanov [Tue, 18 Nov 2014 20:03:09 +0000 (12:03 -0800)]
Fix jump to unmapped memory on atexit
Split d-tor calls and soinfo_free to 2 separate steps
Bug:
18338888
Change-Id: Idbcb7242ade16fa18cba7fe30505ebd8d6023622
Elliott Hughes [Mon, 17 Nov 2014 23:14:57 +0000 (23:14 +0000)]
Merge "libc: Fix mktime returns an uncorrect time in empty TZ case"
Dmitriy Ivanov [Mon, 17 Nov 2014 18:43:31 +0000 (18:43 +0000)]
Merge "bionic/test: migrate sysconf tests from system/extras to bionic/tests"
Elliott Hughes [Mon, 17 Nov 2014 18:26:45 +0000 (18:26 +0000)]
Merge "Add getaddrinfo(3) tests for NULL arguments."
Elliott Hughes [Mon, 17 Nov 2014 18:24:22 +0000 (18:24 +0000)]
Merge "Remove remaining bionic support for TARGET_CPU_SMP being false."
Elliott Hughes [Mon, 17 Nov 2014 18:06:20 +0000 (10:06 -0800)]
Remove remaining bionic support for TARGET_CPU_SMP being false.
Change-Id: I02a0a1c0ae55ccb5c45d17fb99a09c374d71def4
Elliott Hughes [Sun, 16 Nov 2014 18:14:54 +0000 (10:14 -0800)]
Add getaddrinfo(3) tests for NULL arguments.
According to https://github.com/ukanth/afwall/pull/213 some OEMs have
shipped a getaddrinfo(3) that crashes given NULL hostnames.
Change-Id: I9cea5fdd68546b7c64cf47e10e2b2b4d672b69d0
Dan Albert [Sat, 15 Nov 2014 06:47:07 +0000 (06:47 +0000)]
Merge "Allow asan for glibc tests."
Dan Albert [Sat, 15 Nov 2014 03:58:26 +0000 (19:58 -0800)]
Allow asan for glibc tests.
SANITIZE_HOST will break if we don't allow ASAN.
Change-Id: I0beed82b058db391f633e0ea1098f140497c65d4
Satoru Takeuchi [Tue, 27 May 2014 08:04:04 +0000 (17:04 +0900)]
libc: Fix mktime returns an uncorrect time in empty TZ case
The mktime API returned an uncorrect time when TZ is set as empty.
A timezone UTC/GMT+0 should be implied in the empty case. However
mktime keeps previous information about timezone. If mktime was called
with a timezone which has DST before, the "defaulttype" member of
"state" structure wouldn't be 0. Then it would be used next time,
even though UTC/GMT+0 doesn't have DST.
Added initialization of the "defaulttype" in the empty TZ case.
Change-Id: Ic480c63c548c05444134e0aefb30a7b380e3f40b
Derek Xue [Thu, 25 Sep 2014 09:55:34 +0000 (10:55 +0100)]
bionic/test: migrate sysconf tests from system/extras to bionic/tests
The old test are implemented in file:
system/extras/tests/bionic/libc/other/test_sysconf.c
This change is to migrate them to bionic/tests with the gtest format.
and since the sysconf is defined in unistd.h, will put the test under
bionic/tests/unistd_test.cpp file as unistd.syscon test
Change-Id: Ie519147c1c86a6c4cefa8c88b18bf58bdfbffbdb
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Yabin Cui [Sat, 15 Nov 2014 00:53:37 +0000 (00:53 +0000)]
Merge "Add functions in sysinfo.h."
Yabin Cui [Fri, 14 Nov 2014 23:51:58 +0000 (15:51 -0800)]
Add functions in sysinfo.h.
Bug:
17703902
Change-Id: I699d12d76a8fc483c919be730c2ac63641b71a1d
Yabin Cui [Fri, 14 Nov 2014 23:45:44 +0000 (23:45 +0000)]
Merge "Increase support of pathconf options."
Yabin Cui [Sat, 8 Nov 2014 22:58:12 +0000 (14:58 -0800)]
Increase support of pathconf options.
Bug:
18206366
Change-Id: Ie770e49f5af3631eb9fbd2cd5174edf004c81e00
Elliott Hughes [Fri, 14 Nov 2014 23:33:20 +0000 (23:33 +0000)]
Merge "sysconf(3) returns long."
Elliott Hughes [Fri, 14 Nov 2014 23:14:44 +0000 (15:14 -0800)]
sysconf(3) returns long.
On LP32, this makes no difference. Not an ABI change.
On LP64, results are going to be in %rax or x0 whether they're 32- or 64-bit,
and the only difference is going to be whether the top bits are clobbered.
Bug:
18390956
Change-Id: I0bd4496231bdded34c1fa03e895021ac0df7f8e1
Elliott Hughes [Fri, 14 Nov 2014 22:52:08 +0000 (22:52 +0000)]
Merge "Add non-macro stdin/stdout/stderr too."
Elliott Hughes [Fri, 14 Nov 2014 22:42:59 +0000 (14:42 -0800)]
Add non-macro stdin/stdout/stderr too.
Various C and C++ standards explicitly say that stdin/stdout/stderr
should be macros, but glibc makes them global variables too. This
means it's possible to write code that uses those names as locals,
but that code (toybox being an example) won't build on bionic.
If we'd done this earlier, we could have hidden __sF for LP64, but
it's too late now.
Change-Id: I90cf8c73f52b66e1760b8fa2e135b9f9f9651230
Dmitriy Ivanov [Fri, 14 Nov 2014 20:19:37 +0000 (20:19 +0000)]
Merge "Fix host build for arm/arm64"
Dmitriy Ivanov [Fri, 14 Nov 2014 20:17:06 +0000 (12:17 -0800)]
Fix host build for arm/arm64
Change-Id: Id92543e4080aede205b3e63099fa2baa36ba21f0
Dmitriy Ivanov [Fri, 14 Nov 2014 19:31:32 +0000 (19:31 +0000)]
Merge "Add test for --hash-style=sysv"
Dmitriy Ivanov [Fri, 14 Nov 2014 19:19:22 +0000 (11:19 -0800)]
Add test for --hash-style=sysv
With build system switched to gnu-hash we need
a test for sysv-hashed library.
Change-Id: I34adc216fa79199aa46066cf13fcc1c1f2581f0e
Dmitriy Ivanov [Fri, 14 Nov 2014 16:33:16 +0000 (16:33 +0000)]
Merge "Rename soinfo methods and fields"
Dmitriy Ivanov [Thu, 13 Nov 2014 17:39:20 +0000 (09:39 -0800)]
Rename soinfo methods and fields
Change-Id: If68fbe287d3ad954238b1688f71013371f3f7fae
Christopher Ferris [Fri, 14 Nov 2014 03:23:35 +0000 (03:23 +0000)]
Merge "Add missing function prototypes wcpcpy/wcpncpy."
Christopher Ferris [Thu, 13 Nov 2014 23:48:39 +0000 (15:48 -0800)]
Add missing function prototypes wcpcpy/wcpncpy.
Also add smoke tests for a few of the wchar functions.
Change-Id: Id1be522f55a6708564d444941f42097548f16497
Elliott Hughes [Fri, 14 Nov 2014 00:00:53 +0000 (00:00 +0000)]
Merge "Fix our <mntent.h> implementation."
Elliott Hughes [Thu, 13 Nov 2014 22:27:25 +0000 (14:27 -0800)]
Fix our <mntent.h> implementation.
Used by toybox.
Change-Id: I36a5053423e5cc54ae02a68f4fe110d75134accd
Elliott Hughes [Thu, 13 Nov 2014 18:11:00 +0000 (18:11 +0000)]
Merge "Assume glibc >= 2.15."
Elliott Hughes [Thu, 13 Nov 2014 17:56:07 +0000 (17:56 +0000)]
Merge "Don't receive structs containing pointers over sockets."
Hans Boehm [Thu, 13 Nov 2014 17:49:53 +0000 (17:49 +0000)]
Merge "Allow stdatomic.h to be included from mingw prebuilt."
Elliott Hughes [Thu, 13 Nov 2014 01:00:30 +0000 (17:00 -0800)]
Don't receive structs containing pointers over sockets.
Fixes x86-64 netd.
Change-Id: Iee5ef802ebbf2e000b2593643de4eec46f296c04
Elliott Hughes [Thu, 13 Nov 2014 05:03:26 +0000 (21:03 -0800)]
Assume glibc >= 2.15.
This catches one trivial difference between us and glibc --- the error
returned by pthread_setname_np for an invalid pthread_t.
Change-Id: If4c21e22107c6488333d11184f8005f8669096c2
Elliott Hughes [Thu, 13 Nov 2014 03:37:47 +0000 (03:37 +0000)]
Merge "Fix glibc 2.15 build."
Dmitriy Ivanov [Thu, 13 Nov 2014 03:36:54 +0000 (03:36 +0000)]
Merge "Fix mips build"
Elliott Hughes [Thu, 13 Nov 2014 03:22:48 +0000 (19:22 -0800)]
Fix glibc 2.15 build.
glibc 2.15 has prlimit64, has an unsetenv that's declared nonnull,
and hasn't fixed the problems we were having trying to use the
POSIX strerror_r in C++ code.
Change-Id: I834356a385e5ae55500bd86781691b6c1c9c8300
Dmitriy Ivanov [Thu, 13 Nov 2014 02:20:39 +0000 (18:20 -0800)]
Fix mips build
Change-Id: I58b01db38ab9a397a8bd77c1296aac12957c21da
Dmitriy Ivanov [Thu, 13 Nov 2014 02:10:30 +0000 (02:10 +0000)]
Merge "Add support for hash-style=gnu"
Hans Boehm [Wed, 12 Nov 2014 18:34:26 +0000 (10:34 -0800)]
Allow stdatomic.h to be included from mingw prebuilt.
Define __GNUC_PREREQ if it isn't already defined.
This is a bit ugly, but it seems to be easiest to make this header as
context-independent as possible. Together with the addition of a symbolic
link to this file from the mingw prebuilt, this appears to unblock
commit
e9fa6be333e35d9e7ae435aeb32532875b95fe22.
Change-Id: I97e39cda8d8f9aa108aa61c4121da09eb9739062
Dan Albert [Thu, 13 Nov 2014 01:14:26 +0000 (01:14 +0000)]
Merge "Add documentation about checkbuild."
Dan Albert [Thu, 13 Nov 2014 01:08:38 +0000 (17:08 -0800)]
Add documentation about checkbuild.
Change-Id: I2c2d06bc0dc3cdc58b5563f62889122b76f3c469
Dmitriy Ivanov [Mon, 10 Nov 2014 03:27:20 +0000 (19:27 -0800)]
Add support for hash-style=gnu
Change-Id: I171434a587420895feac8a9b1ad2342087197568
Christopher Ferris [Wed, 12 Nov 2014 23:17:59 +0000 (23:17 +0000)]
Merge "Add 64-bit slm optimized strlcpy and srlcat."
Yabin Cui [Wed, 12 Nov 2014 20:36:25 +0000 (20:36 +0000)]
Merge "implement missing seekdir and telldir"
Elliott Hughes [Wed, 12 Nov 2014 20:09:59 +0000 (20:09 +0000)]
Merge "gethostname.c: change to report ENAMETOOLONG error when buflen is less"
Elliott Hughes [Wed, 12 Nov 2014 20:08:57 +0000 (20:08 +0000)]
Merge "bionic tests: migrate gethostname test to unistd_test.cpp from system/extras"
Yongqin Liu [Thu, 30 Oct 2014 08:34:55 +0000 (16:34 +0800)]
gethostname.c: change to report ENAMETOOLONG error when buflen is less
change to behaviour the same as glibc for the check about buflen
Change-Id: I98265a8fe441df6fed2527686f89b087364ca53d
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Derek Xue [Thu, 25 Sep 2014 10:12:01 +0000 (11:12 +0100)]
bionic tests: migrate gethostname test to unistd_test.cpp from system/extras
The old tests are implemented in file
system/extras/tests/bionic/libc/common/test_gethostname.c
Here migrate the test to the tests/unistd_test.cpp file and
add some more checks
Change-Id: Iab1e3da873bb333d1ddefc03108d536933792db2
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Varvara Rainchik [Mon, 10 Nov 2014 12:15:58 +0000 (15:15 +0300)]
Add 64-bit slm optimized strlcpy and srlcat.
Change-Id: Ic948934d91c83bbfdfd00c05ee8b14952e012549
Signed-off-by: Varvara Rainchik <varvara.rainchik@intel.com>
Elliott Hughes [Wed, 12 Nov 2014 02:32:09 +0000 (02:32 +0000)]
Merge "Upgrade bionic to tzdata2014j."
Elliott Hughes [Wed, 12 Nov 2014 00:44:21 +0000 (16:44 -0800)]
Upgrade bionic to tzdata2014j.
From the release notes:
Changes affecting current and future time stamps
Turks & Caicos' switch from US eastern time to UTC-4 year-round
did not occur on 2014-11-02 at 02:00. It's currently scheduled
for 2015-11-01 at 02:00. (Thanks to Chris Walton.)
Changes affecting past time stamps
Many pre-1989 time stamps have been corrected for Asia/Seoul and
Asia/Pyongyang, based on sources for the Korean-language Wikipedia
entry for time in Korea. (Thanks to Sanghyuk Jung.) Also, no
longer guess that Pyongyang mimicked Seoul time after World War II,
as this is politically implausible.
Some more zones have been turned into links, when they differed
from existing zones only for older time stamps. As usual,
these changes affect UTC offsets in pre-1970 time stamps only.
Their old contents have been moved to the 'backzone' file.
The affected zones are: Africa/Addis_Ababa, Africa/Asmara,
Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
Indian/Mayotte.
Bug:
18330681
Change-Id: I4b6939b4dcf08c47df5595ae445b6f44f4a03418
Elliott Hughes [Wed, 12 Nov 2014 00:42:49 +0000 (00:42 +0000)]
Merge "Fix tzdata update tools for 'backzone'."
Elliott Hughes [Tue, 11 Nov 2014 22:10:51 +0000 (14:10 -0800)]
Fix tzdata update tools for 'backzone'.
To maintain the status quo, we need to pull in backzone file. This file
can't be built on its own, so the easiest fix is to give zic(1) all the
files at once.
We also now have a situation where we have links to links, so we need to
dereference them until we find actual data.
Bug:
18330681
Change-Id: I03f4aa8e6e23802dc35cbff2f74f325eb17d7b2b
Daniel Rosenberg [Tue, 11 Nov 2014 20:40:03 +0000 (20:40 +0000)]
Merge "bionic: libc: Added path to vendor build properties file."
Daniel Rosenberg [Tue, 11 Nov 2014 00:59:57 +0000 (16:59 -0800)]
bionic: libc: Added path to vendor build properties file.
Change-Id: Ia9fc257a82fdd592751cbcde3fcf453a49856f62
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Andreas Gampe [Tue, 11 Nov 2014 19:17:55 +0000 (19:17 +0000)]
Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
Andreas Gampe [Tue, 11 Nov 2014 06:04:08 +0000 (22:04 -0800)]
Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional
Make the definition of DISALLOW_COPY_AND_ASSIGN conditional. This is
so that the projects that include libnativehelper and bionic macros
do not have to be careful in which order those projects are included.
Bug:
18334516
Change-Id: Ib12a2c2b7ad2e360edcf3b26cb1be626540fadc1
Christopher Ferris [Mon, 10 Nov 2014 23:38:21 +0000 (23:38 +0000)]
Merge "Add align/overread tests for strlcpy/strlcat."
Elliott Hughes [Mon, 10 Nov 2014 23:18:35 +0000 (23:18 +0000)]
Merge "Add the <dirent.h> feature macros glibc uses."
Elliott Hughes [Mon, 10 Nov 2014 22:56:49 +0000 (14:56 -0800)]
Add the <dirent.h> feature macros glibc uses.
Change-Id: I4da92b67d410839ea4ef0beaaa6c5cca06b74c0d
Christopher Ferris [Mon, 10 Nov 2014 21:58:17 +0000 (13:58 -0800)]
Add align/overread tests for strlcpy/strlcat.
Change-Id: I2801c7ee1847cd68ec95eba5bdffde5e52edf1e5
Elliott Hughes [Mon, 10 Nov 2014 19:32:51 +0000 (19:32 +0000)]
Merge "Remove temporary compatibility hack."
Elliott Hughes [Mon, 10 Nov 2014 19:24:51 +0000 (11:24 -0800)]
Remove temporary compatibility hack.
The callers have been fixed.
Bug:
18298106
Change-Id: I65e24032d0a82c4b118abace854d2dcdada881fb
Elliott Hughes [Mon, 10 Nov 2014 17:25:08 +0000 (17:25 +0000)]
Merge "Fix struct stat to match POSIX 2008."
Elliott Hughes [Sat, 8 Nov 2014 03:15:10 +0000 (19:15 -0800)]
Fix struct stat to match POSIX 2008.
Our representation of sub-second times matched the Linux kernel, and we
provided macros for glibc source compatibility. This change switches us
over to match POSIX 2008, adds the macros they insist on (for compatibility
with earlier versions of POSIX), and also adds macros for compatibility
with any code that expects the kernel or old bionic names.
Unfortunately this breaks strace which defines its own structures using
the kernel names, and thus implicitly assumes that there are no macros with
those names, but this does allow the rest of the tree to build.
Bug:
18298106
Change-Id: Ibfa8c21cb2a2566091ef3dc2019a9f78d2de2991
Elliott Hughes [Sat, 8 Nov 2014 00:55:20 +0000 (00:55 +0000)]
Merge "Add sethostname(2)."
Elliott Hughes [Sat, 8 Nov 2014 00:07:13 +0000 (16:07 -0800)]
Add sethostname(2).
Not very useful, but helps building stuff like toybox out of the box.
Change-Id: I110e39030452bd093a84278e019c5752d293718d
Yabin Cui [Fri, 7 Nov 2014 03:55:09 +0000 (19:55 -0800)]
implement missing seekdir and telldir
Bug:
18266863
Change-Id: I189ee949d4f7ccee099f3341e349cd969d25480f
The Android Open Source Project [Fri, 7 Nov 2014 01:43:39 +0000 (17:43 -0800)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Elliott Hughes [Fri, 7 Nov 2014 00:58:34 +0000 (00:58 +0000)]
am
08a70184: Merge "Add POSIX lcong48."
* commit '
08a70184b42ef2963794a56233b0253e0b367253':
Add POSIX lcong48.
Elliott Hughes [Thu, 6 Nov 2014 23:58:07 +0000 (23:58 +0000)]
Merge "Implement all the POSIX _l functions."
Elliott Hughes [Thu, 6 Nov 2014 23:04:08 +0000 (15:04 -0800)]
Implement all the POSIX _l functions.
Strictly speaking, this only implements the _l variants of the functions
we actually have. We're still missing nl_langinfo_l, for example, but we
don't have nl_langinfo either.
Change-Id: Ie711c7b04e7b9100932a13f5a5d5b28847eb4c12
Elliott Hughes [Thu, 6 Nov 2014 22:21:53 +0000 (22:21 +0000)]
Merge "Add POSIX lcong48."
Elliott Hughes [Thu, 6 Nov 2014 20:40:08 +0000 (12:40 -0800)]
Add POSIX lcong48.
Change-Id: I821046816661d77275cb02c8c99d526bb41afb9c
Elliott Hughes [Thu, 6 Nov 2014 19:48:17 +0000 (19:48 +0000)]
am
39ba3035: Merge "Fix our <complex.h> support."
* commit '
39ba30354a3890dd653ab55819d38eed3855edaa':
Fix our <complex.h> support.
Elliott Hughes [Thu, 6 Nov 2014 19:43:17 +0000 (19:43 +0000)]
Merge "Fix our <complex.h> support."
Yabin Cui [Thu, 6 Nov 2014 19:22:17 +0000 (19:22 +0000)]
am
99cf8d08: Merge "make all bionic death tests not dumpable"
* commit '
99cf8d08c95470c34e530c068d1325cb6656e760':
make all bionic death tests not dumpable
Elliott Hughes [Thu, 6 Nov 2014 19:16:55 +0000 (11:16 -0800)]
Fix our <complex.h> support.
We build libm with -fvisibility=hidden, so we weren't exporting any
of the <complex.h> functions.
We also weren't building many of the functions anyway.
We were also missing the complex inverse trigonometric functions.
And because we didn't even have perfunctory "call each function once"
tests, we didn't notice that we weren't exporting any symbols, so this
patch adds at least that level of testing.
Change-Id: Ibcf2843f507126c51d134cc5fc8d67747e033a0d
Yabin Cui [Thu, 6 Nov 2014 19:14:33 +0000 (19:14 +0000)]
Merge "make all bionic death tests not dumpable"
Yabin Cui [Thu, 6 Nov 2014 02:01:01 +0000 (18:01 -0800)]
make all bionic death tests not dumpable
Bug:
18067305
Change-Id: Ia1ecacf47eddecc9bc58aaac779e0c218f463179
Elliott Hughes [Thu, 6 Nov 2014 06:08:32 +0000 (06:08 +0000)]
am
a80f11ba: Merge "Add support for listing missing POSIX 2013 symbols."
* commit '
a80f11ba99a078515aa7e06dc99db62a475a7b53':
Add support for listing missing POSIX 2013 symbols.
Elliott Hughes [Thu, 6 Nov 2014 06:05:38 +0000 (06:05 +0000)]
Merge "Add support for listing missing POSIX 2013 symbols."
Elliott Hughes [Thu, 6 Nov 2014 00:22:26 +0000 (16:22 -0800)]
Add support for listing missing POSIX 2013 symbols.
Change-Id: Ic51787890f837f74a22ca63d64a5710474d00cbc
Yabin Cui [Wed, 5 Nov 2014 20:12:36 +0000 (20:12 +0000)]
am
23113831: Merge "check invalid file offset when loading library"
* commit '
2311383180aee9388d28b03901a1e4ef021bcfa7':
check invalid file offset when loading library
Yabin Cui [Wed, 5 Nov 2014 19:56:00 +0000 (19:56 +0000)]
Merge "check invalid file offset when loading library"
Elliott Hughes [Wed, 5 Nov 2014 02:42:07 +0000 (02:42 +0000)]
am
c13a2044: Merge "Fix newlocale with a NULL locale name."
* commit '
c13a2044e3b4d6084ef7ed32fb35e63e4157a96a':
Fix newlocale with a NULL locale name.
Elliott Hughes [Wed, 5 Nov 2014 02:42:05 +0000 (02:42 +0000)]
am
57df00a4: Merge "Improve math tests to allow a specific ulp bound."
* commit '
57df00a4107d59f82732306c1e199ffa63f76f9b':
Improve math tests to allow a specific ulp bound.
Chih-Hung Hsieh [Wed, 5 Nov 2014 02:41:55 +0000 (02:41 +0000)]
am
6c8f2475: Merge "Fix warning of missing field initializer."
* commit '
6c8f247581890a25fb899767db220a8245859f71':
Fix warning of missing field initializer.
Elliott Hughes [Wed, 5 Nov 2014 02:20:55 +0000 (02:20 +0000)]
Merge "Fix newlocale with a NULL locale name."
Elliott Hughes [Wed, 5 Nov 2014 02:03:44 +0000 (18:03 -0800)]
Fix newlocale with a NULL locale name.
Bug: https://code.google.com/p/android/issues/detail?id=78567
Change-Id: I272dabc12ab186b44a525c7e8ac1846e62334e85
Elliott Hughes [Wed, 5 Nov 2014 02:02:18 +0000 (02:02 +0000)]
Merge "Improve math tests to allow a specific ulp bound."
Elliott Hughes [Tue, 4 Nov 2014 01:03:20 +0000 (17:03 -0800)]
Improve math tests to allow a specific ulp bound.
At the moment our libm is only good enough for a 1 ulp bound on these tests,
but that's better than the 4 ulp bound you get from gtest by default.
I'm not really happy with the multiple structures and corresponding functions,
but at least they mean there's no duplication in the tests themselves, and it
should be easy enough for us to make further improvements in future.
Change-Id: I004e12970332e1d9531721361d6c34f908cfcecc
Chih-Hung Hsieh [Wed, 5 Nov 2014 00:46:36 +0000 (00:46 +0000)]
Merge "Fix warning of missing field initializer."
Yabin Cui [Tue, 4 Nov 2014 19:08:05 +0000 (11:08 -0800)]
check invalid file offset when loading library
Bug:
18178121
Bug:
18078224
Change-Id: I5254433d54645db68e9b83d5095dc2bf9d8531bc
Chih-Hung Hsieh [Tue, 4 Nov 2014 20:09:35 +0000 (12:09 -0800)]
Fix warning of missing field initializer.
BUG:
18241135
Change-Id: I91304eb608bc3336ce5fcd5744fbe080d64f1cc2
Dan Albert [Tue, 4 Nov 2014 00:53:18 +0000 (00:53 +0000)]
am
695781b6: Merge "Make host tests depend on /system/etc/hosts."
* commit '
695781b6f0419f82939176a6ec1a240300d9f036':
Make host tests depend on /system/etc/hosts.
Elliott Hughes [Tue, 4 Nov 2014 00:53:16 +0000 (00:53 +0000)]
am
e76ea9bb: Merge "Ensure we initialize stdin/stdout/stderr\'s recursive mutexes."
* commit '
e76ea9bbe0a8bccf97b88d09af13a84fd34a6a76':
Ensure we initialize stdin/stdout/stderr's recursive mutexes.