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
Dmitriy Ivanov
36ffc73e99
Merge "Fix arm64 and arm builds."
2014-11-01 00:33:30 +00:00
Dmitriy Ivanov
4e446b19d8
Fix arm64 and arm builds.
...
Change-Id: I2c8c41626768e792f27a2616f2cd5ae66606319d
2014-10-31 17:27:02 -07:00
Dmitriy Ivanov
a334934f66
am f33ad400
: Merge "Fix symbol lookup order during relocation"
...
* commit 'f33ad400230fa1f16ba4501efb60a1b6035e06ca':
Fix symbol lookup order during relocation
2014-10-31 23:54:20 +00:00
Dmitriy Ivanov
f33ad40023
Merge "Fix symbol lookup order during relocation"
2014-10-31 23:51:18 +00:00
Dmitriy Ivanov
703581a322
am 74c0ccd4
: Merge "Use local copy of the library name on dlopen"
...
* commit '74c0ccd49b2f0a94078b565b60c10ecba1e9424e':
Use local copy of the library name on dlopen
2014-10-31 22:51:38 +00:00
Dmitriy Ivanov
74c0ccd49b
Merge "Use local copy of the library name on dlopen"
2014-10-31 22:47:25 +00:00
Dmitriy Ivanov
da8e591c39
Use local copy of the library name on dlopen
...
Bug: 18052100
Change-Id: Idbc2a3691db3b5525d4e9bca81d78d5f29bc438f
2014-10-31 14:23:34 -07:00
Dmitriy Ivanov
d225a5e652
Fix symbol lookup order during relocation
...
Relocate symbol against DF_1_GLOBAL shared libraries
loaded before this shared library. This includes
main executable, ld_preloads and other libraries
that have DF_1_GLOBAL flag set.
Bug: 2643900
Bug: 15432753
Change-Id: Ia788748be59b739d1c7e62b978e7e255f9e65c7b
2014-10-31 11:39:51 -07:00
Elliott Hughes
25f4bb984c
am e38bf839
: Merge "limits.h: add define for HOST_NAME_MAX"
...
* commit 'e38bf839837d11542e7d1deb00d81542a0ef55b7':
limits.h: add define for HOST_NAME_MAX
2014-10-30 16:02:29 +00:00
Elliott Hughes
e38bf83983
Merge "limits.h: add define for HOST_NAME_MAX"
2014-10-30 15:56:44 +00:00
Yongqin Liu
0589777a33
limits.h: add define for HOST_NAME_MAX
...
according to the rules defined here:
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/limits.h.html
add the definition for HOST_NAME_MAX to limits.h file,
and set the default value to _POSIX_HOST_NAME_MAX as 255
Change-Id: Iddd5c6c569f4e0a14994c7a7c54985f3e7809fc4
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-10-30 10:59:24 +08:00
Elliott Hughes
4c29b1c266
am f362e9fb
: Merge "Remove an unused file."
...
* commit 'f362e9fb33722f89cebe65ddf2f07d2b07e4390e':
Remove an unused file.
2014-10-29 20:51:27 +00:00
Elliott Hughes
f362e9fb33
Merge "Remove an unused file."
2014-10-29 20:46:31 +00:00
Elliott Hughes
39cd0fa24a
Remove an unused file.
...
We don't have any FreeBSD stdio left.
Bug: 17154680
Change-Id: I145627f564364ac8d4707d431d451cc3115c1c6a
2014-10-29 13:42:23 -07:00
Elliott Hughes
24464b04a0
am d50495a5
: Merge "Extra strtod/strtof tests."
...
* commit 'd50495a56760fdc116b7484bcdf1183c76db9b37':
Extra strtod/strtof tests.
2014-10-29 17:36:16 +00:00
Elliott Hughes
d50495a567
Merge "Extra strtod/strtof tests."
2014-10-29 17:22:33 +00:00
Yabin Cui
63edd69e57
am cbb4606a
: Merge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"
...
* commit 'cbb4606ad00f084f984c92a8674400a112ea200e':
change unsigned int to uint32_t for api arc4random/arc4random_uniform
2014-10-29 12:32:36 +00:00
Elliott Hughes
91bfaed26a
am 13dcb88b
: Merge "Disable tzdata in ."
...
* commit '13dcb88b0f8ce238456059fdc0b6c946caed1e3a':
Disable tzdata in $ANDROID_DATA.
2014-10-29 12:32:23 +00:00
Elliott Hughes
912fe0a6df
am f96eaf62
: Merge "[x86,x86_64] Fix libgcc unwinding through signal"
...
* commit 'f96eaf6202351a1b5153cfaad3137e4b63846f8f':
[x86,x86_64] Fix libgcc unwinding through signal
2014-10-29 12:31:52 +00:00
Elliott Hughes
89aaaffbf8
Extra strtod/strtof tests.
...
Check that libc doesn't suffer from a couple of bugs that affected
Java in the past.
Bug: 2206701
Change-Id: I9eb64d7ff2fa0b79e93079b897a5fb78bef866be
2014-10-28 17:54:23 -07:00
Yabin Cui
cbb4606ad0
Merge "change unsigned int to uint32_t for api arc4random/arc4random_uniform"
2014-10-28 22:58:40 +00:00
Yabin Cui
a39f939e0d
change unsigned int to uint32_t for api arc4random/arc4random_uniform
...
Bug: 17894480
Change-Id: Ia4b5a7cd2b2c6002ed70955f86f7780d26d15e26
2014-10-28 13:44:48 -07:00