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
Elliott Hughes
382938d092
am ec58e29b
: Merge "pthread_setname_np appears in glibc 2.12."
...
* commit 'ec58e29b276b0f98eb624430fb70703dc32057bf':
pthread_setname_np appears in glibc 2.12.
2014-10-28 19:28:35 +00:00
Elliott Hughes
7dbb1cff0b
am 021b6412
: Merge "Fix the type of u_ar0 in <sys/user.h>."
...
* commit '021b6412f7b7ce73b383480b25a8e5d69323f78c':
Fix the type of u_ar0 in <sys/user.h>.
2014-10-28 19:28:34 +00:00
Elliott Hughes
ee8faa5e74
am 7f164f60
: Merge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."
...
* commit '7f164f6052b6dcee1c2cc70accdfac4b2c790b19':
POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK.
2014-10-28 19:28:32 +00:00
Dmitriy Ivanov
3a3a4b8ae6
am e23f564b
: Merge "Fix *tests-run-on-host target"
...
* commit 'e23f564b52fed0dce661cf6db25cf3a89bd66f18':
Fix *tests-run-on-host target
2014-10-28 17:34:12 +00:00
Elliott Hughes
44331e8bb0
am c716dd1e
: Merge "bionic tests: migrate test for mutex type from system/extras"
...
* commit 'c716dd1e21438ac6585be79fb799b3135e9b381f':
bionic tests: migrate test for mutex type from system/extras
2014-10-28 17:34:01 +00:00
Elliott Hughes
13dcb88b0f
Merge "Disable tzdata in $ANDROID_DATA."
2014-10-28 16:34:46 +00:00
Elliott Hughes
e24bf5d7b9
Disable tzdata in $ANDROID_DATA.
...
(cherry picked from 4c30130a2155c37e80af4c3b53bf4f6ce832e760.)
Bug: 18139284
Change-Id: I2670dc1791d635139a5d39a438dc08777439476b
2014-10-28 09:34:09 -07:00
Dmitriy Ivanov
85d770211b
am f56a2f5e
: Merge "Remove unnecessary reinterpret_cast"
...
* commit 'f56a2f5ed2508e0743581003420c0f2d9cb54c7b':
Remove unnecessary reinterpret_cast
2014-10-28 04:51:51 +00:00
Chih-Hung Hsieh
f3b0d9cd79
am 57c5a556
: Merge "Disable clang compilation due to lack of ifunc."
...
* commit '57c5a5562b08007dbe6379a4b68ca3a0225747c0':
Disable clang compilation due to lack of ifunc.
2014-10-28 04:51:47 +00:00
Elliott Hughes
1dd65cc30c
am c83837ec
: Merge "Make the netdb unit tests work on the host."
...
* commit 'c83837ec158a14bf84ea702c04f606de3b0599a8':
Make the netdb unit tests work on the host.
2014-10-28 04:51:46 +00:00
Elliott Hughes
3f5d8a00e4
am cad8d226
: Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."
...
* commit 'cad8d226c3589a65775fda972d4cd3ebd3877dab':
Use mxcr_mask instead of mxcsr_mask to match glibc.
2014-10-28 04:51:25 +00:00
Elliott Hughes
43ec1fb76c
am a4c0b756
: Merge "Add mkfifoat(3)."
...
* commit 'a4c0b7567190968d263bedd1073ea633510f9a45':
Add mkfifoat(3).
2014-10-28 04:49:11 +00:00
Dmitriy Ivanov
3db80168ff
am f33a7d7f
: Merge "Fix mips build"
...
* commit 'f33a7d7f1cc96cf1445013fe49f6db0f03cbd44f':
Fix mips build
2014-10-28 04:46:55 +00:00
Dmitriy Ivanov
fee054f3ec
am 398eb5a7
: Merge "Remove unnecessary lookups during relocations"
...
* commit '398eb5a7ee1f0f7173e463e82381431ef4b21a17':
Remove unnecessary lookups during relocations
2014-10-28 04:46:54 +00:00
Dmitriy Ivanov
1babff27fd
am 566f2bc6
: Merge "Fix relocation to look for symbols in local group"
...
* commit '566f2bc623dbd1d6e8bcf3a6c6e7a6fffe7f68fd':
Fix relocation to look for symbols in local group
2014-10-28 04:46:52 +00:00
Elliott Hughes
ac5df33e09
am 6c5694b6
: Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)."
...
* commit '6c5694b6c8343d740c36adbe904442cecd8030a6':
Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).
2014-10-28 04:33:09 +00:00
Elliott Hughes
f96eaf6202
Merge "[x86,x86_64] Fix libgcc unwinding through signal"
2014-10-27 23:30:56 +00:00
Pavel Chupin
50321e2e66
[x86,x86_64] Fix libgcc unwinding through signal
...
This change provides __restore/__restore_rt on x86 and __restore_rt on
x86_64 with unwinding information to be able to unwind through signal
frame via libgcc provided unwinding interface. See comments inlined for
more details.
Also remove the test that had a dependency on
__attribute__((cleanup(foo_cleanup))). It doesn't provide us with any
better test coverage than we have from the newer tests, and it doesn't
work well across a variety architectures (presumably because no one uses
this attribute in the real world).
Tested this on host via bionic-unit-tests-run-on-host on both x86 and
x86-64.
Bug: 17436734
Change-Id: I2f06814e82c8faa732cb4f5648868dc0fd2e5fe4
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2014-10-27 16:14:55 -07:00
Elliott Hughes
ec58e29b27
Merge "pthread_setname_np appears in glibc 2.12."
2014-10-27 20:01:36 +00:00
Elliott Hughes
ed29e858d0
pthread_setname_np appears in glibc 2.12.
...
And our emulator kernels are now new enough to not require a workaround.
Change-Id: Id56c983dbfd8abc69f72a78411a5502391941dfc
2014-10-27 12:01:51 -07:00
Elliott Hughes
021b6412f7
Merge "Fix the type of u_ar0 in <sys/user.h>."
2014-10-27 17:41:00 +00:00
Elliott Hughes
7f164f6052
Merge "POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK."
2014-10-27 17:38:33 +00:00
Dmitriy Ivanov
e23f564b52
Merge "Fix *tests-run-on-host target"
2014-10-26 05:47:53 +00:00
Dmitriy Ivanov
095636e6ad
Fix *tests-run-on-host target
...
Change-Id: Id0e5060977a2df91c47b5a916989eb7e2e3f8153
2014-10-25 21:41:32 -07:00
Elliott Hughes
e03950fa0c
Fix the type of u_ar0 in <sys/user.h>.
...
Change-Id: I9332dea60f7c60b45bc80026686c266bfa7a782c
2014-10-24 20:57:09 -07:00
Elliott Hughes
5b1111a694
POSIX says pthread_mutex_trylock returns EBUSY, not EDEADLK.
...
Found by unit test.
Change-Id: Iffbd2f04213616927fbd7b5419460031f7a078e9
2014-10-24 19:33:11 -07:00
Elliott Hughes
c716dd1e21
Merge "bionic tests: migrate test for mutex type from system/extras"
2014-10-25 02:03:19 +00:00
Derek Xue
4199695657
bionic tests: migrate test for mutex type from system/extras
...
Migrate the test about pthread mutex type in file
system/extras/tests/bionic/libc/bionic/test_mutex.c
to the new place
bionic/tests/pthread_test.cpp
in the gtest format.
Change-Id: I6aab10170ccad5b9a4892d52dba2403876c86659
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
2014-10-24 18:54:42 -07:00