Dmitriy Ivanov
c79478a533
am 85d77021: am f56a2f5e: Merge "Remove unnecessary reinterpret_cast"
...
* commit '85d770211b33ede2d7bf1b37a6e01bcb308cb666':
Remove unnecessary reinterpret_cast
2014-10-29 17:13:32 +00:00
Chih-Hung Hsieh
5ef7bdadbf
am f3b0d9cd: am 57c5a556: Merge "Disable clang compilation due to lack of ifunc."
...
* commit 'f3b0d9cd79574ac43d41e50bf81f57016c620624':
Disable clang compilation due to lack of ifunc.
2014-10-29 17:13:31 +00:00
Elliott Hughes
2a45d8cd4f
am 1dd65cc3: am c83837ec: Merge "Make the netdb unit tests work on the host."
...
* commit '1dd65cc30c43921f9a0fc604597701b349e3e028':
Make the netdb unit tests work on the host.
2014-10-29 17:13:30 +00:00
Elliott Hughes
49220899f2
am 3f5d8a00: am cad8d226: Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."
...
* commit '3f5d8a00e4b57fdf7ec8cc01cc33fbfab5ae1316':
Use mxcr_mask instead of mxcsr_mask to match glibc.
2014-10-29 17:13:29 +00:00
Elliott Hughes
413a4bdd3c
am 43ec1fb7: am a4c0b756: Merge "Add mkfifoat(3)."
...
* commit '43ec1fb76c679738011adc0706e6ef2e01058e79':
Add mkfifoat(3).
2014-10-29 17:13:26 +00:00
Dmitriy Ivanov
1e84f9dab4
am 3db80168: am f33a7d7f: Merge "Fix mips build"
...
* commit '3db80168ff376c08f1faa948b9a41a0c823c9631':
Fix mips build
2014-10-29 17:13:25 +00:00
Dmitriy Ivanov
a7424d79c4
am fee054f3: am 398eb5a7: Merge "Remove unnecessary lookups during relocations"
...
* commit 'fee054f3ecd7c26705f544ecf0d76ce4ec57a2d4':
Remove unnecessary lookups during relocations
2014-10-29 17:13:24 +00:00
Dmitriy Ivanov
0dbb80ae95
am 1babff27: am 566f2bc6: Merge "Fix relocation to look for symbols in local group"
...
* commit '1babff27fd0e62bd719d04e789da01adbb0b01cd':
Fix relocation to look for symbols in local group
2014-10-29 17:13:23 +00:00
Elliott Hughes
5e90a97607
am ac5df33e: am 6c5694b6: Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)."
...
* commit 'ac5df33e091c079d667354d225ed37d23326a270':
Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3).
2014-10-29 17:13:22 +00:00
Elliott Hughes
66bae4262a
am 7f558f60: am cf8ea37f: Merge "bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests"
...
* commit '7f558f60cb51c54782f6d51cd3537082e00970bc':
bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests
2014-10-29 17:10:58 +00:00
Elliott Hughes
ec2ee183a3
am 96a6f401: am e516321d: Merge "Update bionic to tzdata2014i."
...
* commit '96a6f40163b5a2b97c470894ef81041e18265192':
Update bionic to tzdata2014i.
2014-10-29 16:42:51 +00:00
Christopher Ferris
c165b98adc
am 274f5e73: am efd2ec8f: Merge "Fix race condition in timer disarm/delete."
...
* commit '274f5e737dcae3c9d328f89f4f7df29acee41230':
Fix race condition in timer disarm/delete.
2014-10-29 16:42:50 +00:00
Elliott Hughes
69377b8909
Fix merge-induced makefile error.
...
Change-Id: I6ac7e5e3b9d55108681916044cf2de0e01bca0b2
2014-10-28 16:58:11 -07:00
Elliott Hughes
16b557e1b2
Merge remote-tracking branch 'goog/lmp-mr1-ub-dev' into manualmerge
...
Conflicts:
libc/arch-arm/bionic/__restore.S
libc/arch-arm/cortex-a15/bionic/stpcpy.S
libc/arch-arm/cortex-a9/bionic/stpcpy.S
libc/arch-arm64/generic/bionic/memcpy_base.S
libc/arch-x86/bionic/__restore.S
libc/arch-x86/x86.mk
libc/arch-x86_64/bionic/__restore_rt.S
tests/stack_unwinding_test.cpp
tests/stack_unwinding_test_impl.c
Change-Id: I2cb250ad78e9da6f390bc279aec742564b75e6c7
2014-10-28 16:06:57 -07:00
Elliott Hughes
22e2c9d963
Fix mips signed/unsigned signal_test.cpp build breakage.
...
(cherry picked from commit aa13e839f06231b9299bb683a71abd954294b49b)
Bug: 17436734
Change-Id: I167fc5d74c49cca7031c5739bc53fdf3bde71887
2014-10-28 14:02:10 -07:00
Christopher Ferris
43dc3a9aae
Remove the unnecessary generic-neon code.
...
Bug: 18156619
(cherry picked from commit 2169e17482da91865e412e55b52b88d7c8db47f6)
Change-Id: I4a7f5bb9ad4c27b274f3a3c86c1617ca0578b98f
2014-10-28 12:07:25 -07:00
Elliott Hughes
1ea31a2901
Merge "Don't mask out SA_RESTORER from sa_flags." into lmp-mr1-dev
2014-10-28 15:36:56 +00:00
Elliott Hughes
cd99bbfd50
Merge "Disable tzdata in $ANDROID_DATA." into lmp-mr1-dev
2014-10-28 15:06:31 +00:00
Elliott Hughes
28ea229bb2
Don't mask out SA_RESTORER from sa_flags.
...
glibc doesn't do this, and we probably shouldn't either.
Bug: 16703540
Bug: 17436734
(cherry picked from commit afe58ad9892de27a7acb0aaded6312ee0f958314)
Change-Id: Iada5d0ae814f438cb276f056b2b5e3675f0e3666
2014-10-28 07:55:53 -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
Pavel Chupin
8eb8c39299
[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
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
(cherry picked from commit 50321e2e66f19998970e59d666bc9af387345b3a)
Change-Id: Iba90e36958b00c7cc7db5eeebf888dc89ce4d619
2014-10-27 16:42:49 -07:00
Elliott Hughes
190dce9e56
Stack unwinding unit tests.
...
Bug: 17436734
(cherry picked from commit bee1993a14b47bc7acda544242f405ae45e42566)
Change-Id: I7205a862ba2c3b474e287f5e9c8982cef4610af9
2014-10-27 16:42:37 -07:00
Elliott Hughes
e5e61a0a92
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
(cherry picked from commit 1cff9a89645a8f362a9ce19c7f9544e98c1fd9e7)
Change-Id: Ie13d73fd97395e1979a67c2294e036a97c50000d
2014-10-27 16:42:19 -07:00
Elliott Hughes
5054e1a121
Fix 32-bit arm unwinding through signal frames.
...
gdb was already okay; libgcc and libunwind need a little extra help.
Bug: 17436734
(cherry picked from commit 148dff3ec6114a03acc722ae43990f1b342abad9)
Change-Id: I2cc997017acc57c930284af5264f353656b98c7b
2014-10-27 16:41:56 -07:00
Elliott Hughes
7dc2b7b30d
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...
(cherry picked from commit 36f451a6d93b6807944d99fa23396e039c47e845)
Bug: 17436734
Change-Id: Ic1ea1184db6655c5d96180dc07bcc09628e647cb
2014-10-27 16:41:28 -07:00
Elliott Hughes
4c30130a21
Disable tzdata in $ANDROID_DATA.
...
Bug: 18139284
Change-Id: I2670dc1791d635139a5d39a438dc08777439476b
2014-10-27 13:38:21 -07:00
Dmitriy Ivanov
f56a2f5ed2
Merge "Remove unnecessary reinterpret_cast"
2014-10-24 22:05:36 +00:00
Dmitriy Ivanov
c9d1658397
Remove unnecessary reinterpret_cast
...
Change-Id: Id2ddf4e74bc66825206d1287f899d716537a68d0
2014-10-24 14:46:12 -07:00
Elliott Hughes
7f558f60cb
am cf8ea37f: Merge "bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests"
...
* commit 'cf8ea37fc91e23d37b3c5873b5e152ccae293f03':
bionic/tests: migrate gethostbyname bionic test from system/extra to bionic/tests
2014-10-24 20:18:09 +00:00
Chih-Hung Hsieh
57c5a5562b
Merge "Disable clang compilation due to lack of ifunc."
2014-10-24 18:34:40 +00:00
Elliott Hughes
c83837ec15
Merge "Make the netdb unit tests work on the host."
2014-10-24 18:30:37 +00:00
Chih-Hung Hsieh
b086298629
Disable clang compilation due to lack of ifunc.
...
BUG: 18055309
Change-Id: I0f36011cf7872a20ddd36a6c3c607eb96f0a8ec2
2014-10-24 11:04:51 -07:00
Elliott Hughes
1e8ebdc375
Make the netdb unit tests work on the host.
...
Bug: 18111005
Change-Id: I79c6929c3827716e19b44d7469db69740f4b449c
2014-10-24 10:45:08 -07:00
Elliott Hughes
04b7509228
am aa6cd581: Use mxcr_mask instead of mxcsr_mask to match glibc.
...
* commit 'aa6cd5819c8ebd254d995388798a4b51af7ca933':
Use mxcr_mask instead of mxcsr_mask to match glibc.
2014-10-24 16:11:49 +00:00
Elliott Hughes
aa6cd5819c
Use mxcr_mask instead of mxcsr_mask to match glibc.
...
Bug: 18097559
(cherry picked from commit f485547b9267263e1de220a3cc368deaec367191)
Change-Id: I242105faa8210abc9635a951b25b127cd64ed23c
2014-10-24 08:43:34 -07:00
Elliott Hughes
cad8d226c3
Merge "Use mxcr_mask instead of mxcsr_mask to match glibc."
2014-10-24 15:40:44 +00:00
Elliott Hughes
96a6f40163
am e516321d: Merge "Update bionic to tzdata2014i."
...
* commit 'e516321d78162479a4ce17bd5a9ba8c0834abf18':
Update bionic to tzdata2014i.
2014-10-24 13:01:54 +00:00
Christopher Ferris
274f5e737d
am efd2ec8f: Merge "Fix race condition in timer disarm/delete."
...
* commit 'efd2ec8fbddb99a7a2d7da8e1024655fa08153ca':
Fix race condition in timer disarm/delete.
2014-10-24 13:01:53 +00:00
Elliott Hughes
f485547b92
Use mxcr_mask instead of mxcsr_mask to match glibc.
...
Bug: 18097559
Change-Id: Iaca301d7d4c4902989d4699117f72b88d5c4bd78
2014-10-23 20:29:42 -07:00
Elliott Hughes
a4c0b75671
Merge "Add mkfifoat(3)."
2014-10-24 02:57:12 +00:00
Elliott Hughes
ca8e84c6ff
Add mkfifoat(3).
...
Looks like I missed one of the *at functions when I added the rest.
Change-Id: If16de82dbf6f9a3ea7bfdcba406ca1c74a3f2279
2014-10-23 19:10:54 -07:00
Dmitriy Ivanov
f33a7d7f1c
Merge "Fix mips build"
2014-10-23 22:53:24 +00:00