Elliott Hughes
bb54a0d47a
am 9f423c55: Merge "Use the uapi fs magic in <sys/vfs.h>."
...
* commit '9f423c554a0ffcee2e34472bf0bc1aef3621a822':
Use the uapi fs magic in <sys/vfs.h>.
2014-09-22 17:08:51 +00:00
Elliott Hughes
c296e4f151
Use the uapi fs magic in <sys/vfs.h>.
...
Change-Id: I712b856a6d786bba400c9a8d08f596b826403731
2014-09-22 09:47:21 -07:00
Elliott Hughes
7d8796feaa
am 413de5b0: Merge "Add semaphore tests, fix sem_destroy."
...
* commit '413de5b0d4ddcf039aaef8b40a5f02d41dbb06e6':
Add semaphore tests, fix sem_destroy.
2014-09-20 20:06:21 +00:00
Elliott Hughes
413de5b0d4
Merge "Add semaphore tests, fix sem_destroy."
2014-09-20 01:34:11 +00:00
Christopher Ferris
1b0654f4a7
am e7160449: Merge "Remove references to MALLOC_LEAK_CHECK."
...
* commit 'e716044918d85cd3c34425779a09a24348f7f67a':
Remove references to MALLOC_LEAK_CHECK.
2014-09-20 00:50:08 +00:00
Elliott Hughes
04303f5a8a
Add semaphore tests, fix sem_destroy.
...
Bug: https://code.google.com/p/android/issues/detail?id=76088
Change-Id: I4a0561b23e90312384d40a1c804ca64ee98f4066
2014-09-19 17:37:06 -07:00
Christopher Ferris
6fe376d392
Remove references to MALLOC_LEAK_CHECK.
...
This define isn't really used any more.
Bug: 17378595
Change-Id: I39722b83cd98955a3a2514577de34a239524617f
2014-09-19 17:15:12 -07:00
Elliott Hughes
954782240e
am adc01348: Merge "Add greg_t for arm64."
...
* commit 'adc01348ee51a4ad678b1c277f85cbbed5c2e728':
Add greg_t for arm64.
2014-09-19 18:23:59 +00:00
Elliott Hughes
adc01348ee
Merge "Add greg_t for arm64."
2014-09-19 18:01:23 +00:00
Elliott Hughes
8e4d371091
Add greg_t for arm64.
...
This was already present for the other architectures. I think we skipped
this because glibc seems to have an incorrect definition (int rather than
long), but the kernel has the sane definition (just not in a uapi header).
Change-Id: I0d47a424b505804389853dd8632693dad55a3907
2014-09-19 10:31:49 -07:00
Dan Albert
05ce5ff3f2
am 13d6023a: Merge "Exclude libstdc++ from linked libraries."
...
* commit '13d6023aac62091a7d1df1c1afa1e228515832cb':
Exclude libstdc++ from linked libraries.
2014-09-19 00:05:23 +00:00
Dan Albert
13d6023aac
Merge "Exclude libstdc++ from linked libraries."
2014-09-18 23:43:24 +00:00
Christopher Ferris
cbf33a9988
am d5e1c583: Merge "Move to v3.16.3 kernel headers."
...
* commit 'd5e1c583a66a821c7d7e8f43e1238a4569981b90':
Move to v3.16.3 kernel headers.
2014-09-18 21:48:49 +00:00
Christopher Ferris
653676dde8
Move to v3.16.3 kernel headers.
...
Change-Id: Ife491bd7630b853a78532dd74e4644438256a3a1
2014-09-18 13:14:58 -07:00
Christopher Ferris
aac37784df
am 0bd28a43: Merge "Update kernel uapi headers to v3.16.1."
...
* commit '0bd28a43dae87c808f6af61ad3dba042b35be7e7':
Update kernel uapi headers to v3.16.1.
2014-09-18 00:41:24 +00:00
Christopher Ferris
ba8d4f460b
Update kernel uapi headers to v3.16.1.
...
Other changes to support the new headers:
- Remove the flock64 structure it is defined in the new headers.
- Update the syscalls to correspond with the headers.
Change-Id: I49a6b07e8b2bfffb67be71b07b58e4e6848fcc09
2014-09-17 17:05:17 -07:00
Elliott Hughes
8fa377eb6a
Fix an unintended difference between aosp/master and lmp-dev-plus-aosp.
...
Whitespace difference presumably introduced while fixing a merge conflict.
Bug: 17549448
Change-Id: If688330bf1dbaed23ba687d843d9744d6261023b
2014-09-17 15:25:35 -07:00
Elliott Hughes
2ad11a96a1
Fix some 32-bit-isms in <stdio.h>.
...
(cherry-pick of 2d80400a9e8454038a3ec29959436184be0c4c65.)
Bug: 17157793
Change-Id: I8290e240b92e5617f4c12c0eacad6e622e677b6a
2014-09-17 15:21:10 -07:00
Christopher Ferris
e2d86feb7b
Pull input.h from v3.16.1 kernel headers.
...
(cherry-pick of 027d2717d067c3706f22bf84dc1226ede7c1566d.)
Bug: 17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
2014-09-17 15:18:21 -07:00
Elliott Hughes
21ce3f506f
More cases where libc should use O_CLOEXEC.
...
Change-Id: Idfa111aeebc5deca2399dae919e8b72eb54c23c0
(cherry picked from commit f73183f1a34df22b62a3d0bbf82e18d5797c9cde)
2014-09-17 15:13:35 -07:00
Dan Albert
ebb6b4a4d3
Hide ScopedTrace.
...
(cherry-pick of f2c1e7ee78a167ff323b9f45d20532d064d6778d.)
Bug: 11156955
Change-Id: I6cddc868d1c6503e30f1ffcf460f45670631d64a
2014-09-17 15:11:25 -07:00
Elliott Hughes
9e87f2f876
Revert "Revert "Added a bionic systrace class and tracing to pthread_mutex.cpp.""
...
This reverts commit 26c1420fbb68916d66a8621b5efe8bb25cfdad7b.
2014-09-17 14:59:24 -07:00
Dan Albert
3ec67de051
Exclude libstdc++ from linked libraries.
...
Also explicitly add libstdc++ includes for necessary targets.
Change-Id: If712ba0ae7908d8147a69e29da5c453a183d6540
2014-09-17 14:22:36 -07:00
Elliott Hughes
39f4686461
am 36a5aa05: Merge "Use the kernel\'s sa_restorer for aarch64."
...
* commit '36a5aa057cf1738577754a3fc16a14a5f817109f':
Use the kernel's sa_restorer for aarch64.
2014-09-17 17:17:14 +00:00
Elliott Hughes
36a5aa057c
Merge "Use the kernel's sa_restorer for aarch64."
2014-09-17 17:04:40 +00:00
Elliott Hughes
0bbd77af89
am 56433ee2: Merge "Clean up the architecture-specific makefiles."
...
* commit '56433ee2a2ccc097ac3ad753168722b0fc76f3b1':
Clean up the architecture-specific makefiles.
2014-09-17 17:00:39 +00:00
Elliott Hughes
7c02d9428c
Clean up the architecture-specific makefiles.
...
Group things appropriately and name each group.
Change-Id: I0da45eb0ccde19c31d5e984d0e6eb3dad26630dc
2014-09-16 19:06:31 -07:00
Elliott Hughes
894f7f5819
am 17cc8e53: Merge "No arm source refers to SOFTFLOAT."
...
* commit '17cc8e539a578184662c1966a60f37c7d4fed65e':
No arm source refers to SOFTFLOAT.
2014-09-17 00:07:22 +00:00
Elliott Hughes
b1a6c319c4
No arm source refers to SOFTFLOAT.
...
So why bother #defining it?
Change-Id: I539e91916cee082cacac594ddf628419b737fa9d
2014-09-16 16:27:35 -07:00
Elliott Hughes
1cff9a8964
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
Change-Id: I330fa5e68f23b1cf8133aa552896657b0b873ed3
2014-09-16 15:49:50 -07:00
Elliott Hughes
67c12a8392
am 380a3be7: Merge "Fix 32-bit arm unwinding through signal frames."
...
* commit '380a3be757b04378edecad6ecb96017d2ec6a8b9':
Fix 32-bit arm unwinding through signal frames.
2014-09-16 22:13:34 +00:00
Elliott Hughes
148dff3ec6
Fix 32-bit arm unwinding through signal frames.
...
gdb was already okay; libgcc and libunwind need a little extra help.
Bug: 17436734
Change-Id: I1f5108f9877373be078554a1ea4938aa4436204e
2014-09-16 14:10:53 -07:00
Elliott Hughes
ca2d1258fc
am 5cba3c6f: Merge "Fix signal trampolines."
...
* commit '5cba3c6f8e571cd4e6e2468263b778a90331101f':
Fix signal trampolines.
2014-09-16 19:42:51 +00:00
Elliott Hughes
36f451a6d9
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...
Bug: 17436734
Change-Id: Ic1ea1184db6655c5d96180dc07bcc09628e647cb
2014-09-15 15:04:14 -07:00
Elliott Hughes
b104f0c438
am 95b0c6a9: Merge "POSIX says <signal.h> gets you ucontext_t."
...
* commit '95b0c6a9407d7a4084d956e273ad1697550452d3':
POSIX says <signal.h> gets you ucontext_t.
2014-09-15 22:02:31 +00:00
Elliott Hughes
95b0c6a940
Merge "POSIX says <signal.h> gets you ucontext_t."
2014-09-15 17:17:37 +00:00
Christopher Ferris
07ce976788
am 027d2717: Pull input.h from v3.16.1 kernel headers.
...
* commit '027d2717d067c3706f22bf84dc1226ede7c1566d':
Pull input.h from v3.16.1 kernel headers.
2014-09-14 19:51:38 +00:00
Christopher Ferris
027d2717d0
Pull input.h from v3.16.1 kernel headers.
...
Bug: 17407564
Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
2014-09-14 12:08:37 -07:00
Elliott Hughes
35981194d8
am 85ef3b5b: Merge "Update NOTICE files."
...
* commit '85ef3b5b80da353afa24d0ab21c35be01951e0b7':
Update NOTICE files.
2014-09-13 17:23:58 +00:00
Elliott Hughes
79f40ff929
am ae51accf: Merge "Remove an unused file."
...
* commit 'ae51accf22a897eecda329202431faa11e0f6015':
Remove an unused file.
2014-09-13 17:23:57 +00:00
Elliott Hughes
85ef3b5b80
Merge "Update NOTICE files."
2014-09-13 17:01:08 +00:00
Elliott Hughes
5c2264a136
Update NOTICE files.
...
Change-Id: I37a2c297b318b8e1b1ce8b29a7ccc58ba214708a
2014-09-13 09:42:41 -07:00
Elliott Hughes
5681fe8eae
Remove an unused file.
...
Also remove a reference to it and two other files that have already
been removed in a script --- these files were problematic because they
weren't UTF-8.
Change-Id: Ibf597bac1903c34d8d0fe0a09615c42f24d4f23d
2014-09-13 09:24:28 -07:00
Elliott Hughes
26a8eb50a8
POSIX says <signal.h> gets you ucontext_t.
...
POSIX also says that ucontext_t's uc_sigmask has type sigset_t.
MIPS64 strace needs this.
The #define is to keep chromium off our lawn; otherwise it tries to redefine
all this stuff itself. We should probably clean that up and remove the #define.
Change-Id: I765d6a765a33dca7db33cd8c40f408dc98e5c95b
2014-09-12 20:47:35 -07:00
Elliott Hughes
934028eba3
am 73d2059f: Merge "Explain why clock(3) isn\'t broken."
...
* commit '73d2059f9b3f53446e25d800d64a86efb3bf3f9f':
Explain why clock(3) isn't broken.
2014-09-13 00:16:26 +00:00
Elliott Hughes
f83c208b82
Explain why clock(3) isn't broken.
...
Bug: 17441123
Change-Id: I6ee9b7f54bab55b1a8760ce9bcaaa6eab1dcc492
2014-09-12 16:33:37 -07:00
Elliott Hughes
ecd6be3bd2
am e39e47c6: Merge "Remove "private/bionic_pthread.h"."
...
* commit 'e39e47c6b377170d696c6b9b5b523a28c1382ca4':
Remove "private/bionic_pthread.h".
2014-09-12 20:08:45 +00:00
Dmitriy Ivanov
bb5e2968ca
am 66bbf159: Merge "Refactoring: C++11 style DISABLE_ bionic marcos"
...
* commit '66bbf1595c0fc25d4bc47457d8020b11e135996d':
Refactoring: C++11 style DISABLE_ bionic marcos
2014-09-12 20:08:41 +00:00
Elliott Hughes
0f001b67fe
Remove "private/bionic_pthread.h".
...
Bug: 17476168
Change-Id: Id642987e641de81e914a28daea4ffe9d11e090ed
2014-09-12 11:35:05 -07:00
Dmitriy Ivanov
66bbf1595c
Merge "Refactoring: C++11 style DISABLE_ bionic marcos"
2014-09-12 16:50:05 +00:00