Christopher Ferris
f5da2641c3
am 04643c18: Merge "Remove the unnecessary generic-neon code."
...
* commit '04643c181c3256348a6fd78e54c8bc5527ad0b0a':
Remove the unnecessary generic-neon code.
2014-09-24 04:15:16 +00:00
Christopher Ferris
04643c181c
Merge "Remove the unnecessary generic-neon code."
2014-09-24 04:01:23 +00:00
Elliott Hughes
a71b4c3f14
Switch to OpenBSD flags.c.
...
Change-Id: I0a35e5bd9f8edba27e0c73e5c8150636346d6a81
2014-09-23 20:02:42 -07:00
Elliott Hughes
42317a0e50
am c57e5c82: Merge "CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps."
...
* commit 'c57e5c828914714a283dd41f0a4adb064f6b8763':
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps.
2014-09-24 02:10:59 +00:00
Christopher Ferris
2169e17482
Remove the unnecessary generic-neon code.
...
Change-Id: Ib75c33caafd76750ec1aca3a74dec5e4b881e965
2014-09-23 18:31:45 -07:00
Elliott Hughes
31165edf57
CLOEXEC support in fdopen, freopen, and mkostemp/mkostemps.
...
Change-Id: I74ea88e0d4973d6ab3c57da7d8bb643c31592b14
2014-09-23 18:21:52 -07:00
Dan Albert
3c5037f1b3
Fix incorrect parameter types for locale funcs.
...
strtoll(3), strtoull(3), wcstoll(3), and wcstoull(3) all take an _int_
as a base, not a size_t. This is an ABI compatibility issue.
Bug: 17628622
Change-Id: I17f8eead34ce2112005899fc30162067573023ec
2014-09-23 15:32:24 -07:00
Elliott Hughes
0d44da9eb4
am 87b6906f: Merge "Pull in upstream fixes to reject invalid bases."
...
* commit '87b6906f6e0c17b2541535be8e054324cc2fef4a':
Pull in upstream fixes to reject invalid bases.
2014-09-23 22:12:57 +00:00
Elliott Hughes
b05ec5ae93
Pull in upstream fixes to reject invalid bases.
...
Also add tests to make sure the full set works correctly.
Change-Id: I3e7f237f12c9c93e1185a97c9717803e7e55a73c
2014-09-23 14:53:10 -07:00
Elliott Hughes
3a86c0fd90
am 86421653: Merge "Sync with some upstream OpenBSD #include cleanup."
...
* commit '8642165344217877b8a70811d19e09b584a0e10a':
Sync with some upstream OpenBSD #include cleanup.
2014-09-23 21:48:00 +00:00
Elliott Hughes
0c1008b9d8
am 0ab5fd9a: Merge "Switch to OpenBSD insque/remque/killpg."
...
* commit '0ab5fd9a5af4cd00572e4881f46c1e6f974f657c':
Switch to OpenBSD insque/remque/killpg.
2014-09-23 21:48:00 +00:00
Elliott Hughes
8642165344
Merge "Sync with some upstream OpenBSD #include cleanup."
2014-09-23 21:27:29 +00:00
Elliott Hughes
49eed7db79
Switch to OpenBSD insque/remque/killpg.
...
Change-Id: Ie02290ad3187b1c1596dd776fd1c8a743a55f7ef
2014-09-23 14:06:56 -07:00
Elliott Hughes
08dc9d83a2
Sync with some upstream OpenBSD #include cleanup.
...
Change-Id: Ibcd7adb19e9a6b9ad8c24d77e23935f19f56a144
2014-09-23 13:55:15 -07:00
Elliott Hughes
c65a1d5ee0
am 93951cfa: Merge "Fix a couple more cases of missing CLOEXEC."
...
* commit '93951cfa96c3c7504a78f94e7ec408936e5db9bf':
Fix a couple more cases of missing CLOEXEC.
2014-09-23 01:39:11 +00:00
Elliott Hughes
0dc39f9952
Fix a couple more cases of missing CLOEXEC.
...
The debuggerd case can probably never happen, because you're crashing at this
point anyway. The system property one seems possible though.
Change-Id: Idba6a4f1d68587ec5b320d1e25f0b6a987ea32a0
2014-09-22 17:43:09 -07:00
Elliott Hughes
1f2e845f9a
am b2da4562: Merge "Clean up fpathconf(3)/pathconf(3)."
...
* commit 'b2da45625353336452112e28872310903dc70a8f':
Clean up fpathconf(3)/pathconf(3).
2014-09-22 23:05:35 +00:00
Elliott Hughes
a186b2e0ca
Clean up fpathconf(3)/pathconf(3).
...
fpathconf(3) and pathconf(3) can share code. There's no such
header file as <pathconf.h>. glibc/POSIX and BSD disagree about where
the _POSIX_* definitions should go.
Change-Id: I4a67f1595c9f5fbb26700a131178eedebd6bf712
2014-09-22 22:49:40 +00:00
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