Daniel Rosenberg
71d220c1de
bionic: libc: Added path to vendor build properties file.
...
Change-Id: Ia9fc257a82fdd592751cbcde3fcf453a49856f62
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2014-11-11 12:18:22 -08:00
Andreas Gampe
1e75a9b56a
Merge "Bionic: Make DISALLOW_COPY_AND_ASSIGN conditional"
2014-11-11 19:17:56 +00:00
Andreas Gampe
00bbc7f69f
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
2014-11-11 11:16:57 -08:00
Christopher Ferris
1e1ae4a74e
Merge "Add align/overread tests for strlcpy/strlcat."
2014-11-10 23:38:21 +00:00
Elliott Hughes
6e7e2d201f
Merge "Add the <dirent.h> feature macros glibc uses."
2014-11-10 23:18:36 +00:00
Elliott Hughes
8c79b4ebb5
Add the <dirent.h> feature macros glibc uses.
...
Change-Id: I4da92b67d410839ea4ef0beaaa6c5cca06b74c0d
2014-11-10 15:17:28 -08:00
Christopher Ferris
1468765f8a
Add align/overread tests for strlcpy/strlcat.
...
Change-Id: I2801c7ee1847cd68ec95eba5bdffde5e52edf1e5
2014-11-10 13:58:17 -08:00
Elliott Hughes
6330b70cac
Merge "Remove temporary compatibility hack."
2014-11-10 19:32:51 +00:00
Elliott Hughes
e6ac9bb8a0
Remove temporary compatibility hack.
...
The callers have been fixed.
Bug: 18298106
Change-Id: I65e24032d0a82c4b118abace854d2dcdada881fb
2014-11-10 11:24:51 -08:00
Elliott Hughes
b63600934c
Merge "Fix struct stat to match POSIX 2008."
2014-11-10 17:25:08 +00:00
Elliott Hughes
0ac0df84c7
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
2014-11-07 19:15:10 -08:00
Elliott Hughes
47b9083b58
Merge "Add sethostname(2)."
2014-11-08 00:55:20 +00:00
Elliott Hughes
b86a4c7f65
Add sethostname(2).
...
Not very useful, but helps building stuff like toybox out of the box.
Change-Id: I110e39030452bd093a84278e019c5752d293718d
2014-11-07 16:48:27 -08:00
The Android Open Source Project
2ed9ee1e93
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
2014-11-06 17:43:39 -08:00
Elliott Hughes
cd30cb3633
am 08a70184
: Merge "Add POSIX lcong48."
...
* commit '08a70184b42ef2963794a56233b0253e0b367253':
Add POSIX lcong48.
2014-11-07 00:58:34 +00:00
Elliott Hughes
6e555e40b0
Merge "Implement all the POSIX _l functions."
2014-11-06 23:58:07 +00:00
Elliott Hughes
b20c24456e
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
2014-11-06 15:52:22 -08:00
Elliott Hughes
08a70184b4
Merge "Add POSIX lcong48."
2014-11-06 22:21:53 +00:00
Elliott Hughes
274afe8f0e
Add POSIX lcong48.
...
Change-Id: I821046816661d77275cb02c8c99d526bb41afb9c
2014-11-06 14:14:37 -08:00
Elliott Hughes
e449e68f36
am 39ba3035
: Merge "Fix our <complex.h> support."
...
* commit '39ba30354a3890dd653ab55819d38eed3855edaa':
Fix our <complex.h> support.
2014-11-06 19:48:17 +00:00
Elliott Hughes
39ba30354a
Merge "Fix our <complex.h> support."
2014-11-06 19:43:17 +00:00
Yabin Cui
c50ae0b41b
am 99cf8d08
: Merge "make all bionic death tests not dumpable"
...
* commit '99cf8d08c95470c34e530c068d1325cb6656e760':
make all bionic death tests not dumpable
2014-11-06 19:22:17 +00:00
Elliott Hughes
b8ee16f1dc
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
2014-11-06 11:16:55 -08:00
Yabin Cui
99cf8d08c9
Merge "make all bionic death tests not dumpable"
2014-11-06 19:14:33 +00:00
Yabin Cui
9df70403d9
make all bionic death tests not dumpable
...
Bug: 18067305
Change-Id: Ia1ecacf47eddecc9bc58aaac779e0c218f463179
2014-11-06 11:09:03 -08:00
Elliott Hughes
fa7e13b3af
am a80f11ba
: Merge "Add support for listing missing POSIX 2013 symbols."
...
* commit 'a80f11ba99a078515aa7e06dc99db62a475a7b53':
Add support for listing missing POSIX 2013 symbols.
2014-11-06 06:08:32 +00:00
Elliott Hughes
a80f11ba99
Merge "Add support for listing missing POSIX 2013 symbols."
2014-11-06 06:05:38 +00:00
Elliott Hughes
6370aedd0e
Add support for listing missing POSIX 2013 symbols.
...
Change-Id: Ic51787890f837f74a22ca63d64a5710474d00cbc
2014-11-05 16:54:53 -08:00
Yabin Cui
c68a910537
am 23113831
: Merge "check invalid file offset when loading library"
...
* commit '2311383180aee9388d28b03901a1e4ef021bcfa7':
check invalid file offset when loading library
2014-11-05 20:12:36 +00:00
Yabin Cui
2311383180
Merge "check invalid file offset when loading library"
2014-11-05 19:56:01 +00:00
Elliott Hughes
eac625a210
am c13a2044
: Merge "Fix newlocale with a NULL locale name."
...
* commit 'c13a2044e3b4d6084ef7ed32fb35e63e4157a96a':
Fix newlocale with a NULL locale name.
2014-11-05 02:42:07 +00:00
Elliott Hughes
bce54a2bb3
am 57df00a4
: Merge "Improve math tests to allow a specific ulp bound."
...
* commit '57df00a4107d59f82732306c1e199ffa63f76f9b':
Improve math tests to allow a specific ulp bound.
2014-11-05 02:42:05 +00:00
Chih-Hung Hsieh
45f736b323
am 6c8f2475
: Merge "Fix warning of missing field initializer."
...
* commit '6c8f247581890a25fb899767db220a8245859f71':
Fix warning of missing field initializer.
2014-11-05 02:41:55 +00:00
Elliott Hughes
c13a2044e3
Merge "Fix newlocale with a NULL locale name."
2014-11-05 02:20:55 +00:00
Elliott Hughes
7e0d0f8572
Fix newlocale with a NULL locale name.
...
Bug: https://code.google.com/p/android/issues/detail?id=78567
Change-Id: I272dabc12ab186b44a525c7e8ac1846e62334e85
2014-11-04 18:03:44 -08:00
Elliott Hughes
57df00a410
Merge "Improve math tests to allow a specific ulp bound."
2014-11-05 02:02:19 +00:00
Elliott Hughes
1b37ba2178
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
2014-11-04 18:00:02 -08:00
Chih-Hung Hsieh
6c8f247581
Merge "Fix warning of missing field initializer."
2014-11-05 00:46:37 +00:00
Yabin Cui
16f7f8d250
check invalid file offset when loading library
...
Bug: 18178121
Bug: 18078224
Change-Id: I5254433d54645db68e9b83d5095dc2bf9d8531bc
2014-11-04 14:37:15 -08:00
Chih-Hung Hsieh
dc6599e20f
Fix warning of missing field initializer.
...
BUG: 18241135
Change-Id: I91304eb608bc3336ce5fcd5744fbe080d64f1cc2
2014-11-04 12:09:35 -08:00
Dan Albert
5939060ba5
am 695781b6
: Merge "Make host tests depend on /system/etc/hosts."
...
* commit '695781b6f0419f82939176a6ec1a240300d9f036':
Make host tests depend on /system/etc/hosts.
2014-11-04 00:53:18 +00:00
Elliott Hughes
90138639a5
am e76ea9bb
: Merge "Ensure we initialize stdin/stdout/stderr\'s recursive mutexes."
...
* commit 'e76ea9bbe0a8bccf97b88d09af13a84fd34a6a76':
Ensure we initialize stdin/stdout/stderr's recursive mutexes.
2014-11-04 00:53:16 +00:00
Dan Albert
695781b6f0
Merge "Make host tests depend on /system/etc/hosts."
2014-11-03 21:38:50 +00:00
Elliott Hughes
e76ea9bbe0
Merge "Ensure we initialize stdin/stdout/stderr's recursive mutexes."
2014-11-03 21:32:29 +00:00
Dan Albert
62b7279789
Make host tests depend on /system/etc/hosts.
...
Change-Id: I3e5ab1325d5e250a1d14b53f3a5a465d9f5de30c
2014-11-03 13:26:16 -08:00
Elliott Hughes
6a03abcfd2
Ensure we initialize stdin/stdout/stderr's recursive mutexes.
...
Bug: 18208568
Change-Id: I9da16ce0f9375bc363d1d02be706d73fd3b1e150
2014-11-03 12:32:17 -08:00
Dmitriy Ivanov
75cd66aaf6
am 38ff8822
: Merge "Revert "Use local copy of the library name on dlopen""
...
* commit '38ff8822763a30d4c9033a38ec8b71fcd17aba87':
Revert "Use local copy of the library name on dlopen"
2014-11-01 02:35:51 +00:00
Dmitriy Ivanov
38ff882276
Merge "Revert "Use local copy of the library name on dlopen""
2014-11-01 02:32:24 +00:00
Dmitriy Ivanov
9fb216f844
Revert "Use local copy of the library name on dlopen"
...
This reverts commit da8e591c39
.
Change-Id: I3fd6f235b18c232af5cc5ecd481851486d7d68f6
2014-11-01 02:30:38 +00:00
Dmitriy Ivanov
6cba0e35ec
am 36ffc73e
: Merge "Fix arm64 and arm builds."
...
* commit '36ffc73e992de77cc4bc397e41767b69ed9ac917':
Fix arm64 and arm builds.
2014-11-01 00:36:23 +00:00