Serban Constantinescu
7f70c9b64e
AArch64: Fix uses of stack size for 32/64bit libc builds
...
This patch fixes stack size uses to size_t.
Change-Id: I0671c85ddb1c1aceaf9440a7c73c21fe528653fa
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2013-10-22 12:01:29 -07:00
Elliott Hughes
393484ab35
Merge "Fix statvfs tests for the host."
2013-10-22 03:12:24 +00:00
Elliott Hughes
3d305f1d62
Fix statvfs tests for the host.
...
Using /proc seems like a better idea because it's more similar across devices.
I've switched to ensuring we check the initial and final elements in the struct
too, so we have more reason to believe the whole struct is converted correctly.
Change-Id: Ia23403369485747c1452292f6c9df2bb233c04fb
2013-10-21 19:27:19 -07:00
Elliott Hughes
c284d47c57
Merge "Fix the system property tests to use $ANDROID_DATA."
2013-10-22 00:40:46 +00:00
Elliott Hughes
e4375196d6
Fix the system property tests to use $ANDROID_DATA.
...
This lets them work on the host.
Change-Id: I771ccc67652ae37451b45859c7831116cd830086
2013-10-21 17:40:15 -07:00
Elliott Hughes
9d4b67ea16
Merge "Fix 16-byte stack alignment requirement for x86_64 ABI"
2013-10-22 00:38:37 +00:00
Pavel Chupin
33a209e575
Fix 16-byte stack alignment requirement for x86_64 ABI
...
Change-Id: I43304803ac54c8688c61688bd96c7160614172d4
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-21 17:36:28 -07:00
Elliott Hughes
f4ac8ba566
Merge "Fix the x86_64 vfork implementation."
2013-10-21 21:20:51 +00:00
Elliott Hughes
ac5d29fee8
Merge "Fix the x86_64 clone implementation."
2013-10-21 21:19:58 +00:00
Elliott Hughes
53bfdae4ff
Fix the x86_64 clone implementation.
...
Change-Id: Ia75f46dcb4d3222049e9a6a6fabc2b17223b47f7
2013-10-18 19:39:09 -07:00
Elliott Hughes
9ea4d5f3a8
Fix the x86_64 vfork implementation.
...
Change-Id: I599507f5058e6196dc2d5b5653d06d5135dd8ac1
2013-10-18 18:21:11 -07:00
Elliott Hughes
a5bab412e0
Merge "Fix struct statfs for LP64."
2013-10-19 00:35:49 +00:00
Elliott Hughes
c7fdee72dd
Fix struct statfs for LP64.
...
Change-Id: I9649d881588931a1d672b65ddcf94009daadb0ef
2013-10-18 17:00:11 -07:00
Elliott Hughes
25269b8874
Merge "Fix the time unit tests for systems with 64-bit time_t."
2013-10-18 23:53:03 +00:00
Elliott Hughes
0c40152767
Fix the time unit tests for systems with 64-bit time_t.
...
Change-Id: I29df50b25d022c1c00906e71b612defa58e46e81
2013-10-18 16:21:54 -07:00
Elliott Hughes
d0402acdc7
Merge "x86_64: Fix bionic tests build-and-run"
2013-10-18 22:07:03 +00:00
Pavel Chupin
17558dec7f
x86_64: Fix bionic tests build-and-run
...
Change-Id: Iab48362893a212afbcbc362fdfaff5bfa5b55259
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-18 15:04:19 -07:00
Elliott Hughes
e3cc1555f6
Merge "Fix some test assumptions that are wrong for __LP64__."
2013-10-18 20:28:22 +00:00
Elliott Hughes
79f79c907f
Merge "x86_64: Fix sys/stat.h"
2013-10-18 20:25:09 +00:00
Pavel Chupin
f68fac8c00
x86_64: Fix sys/stat.h
...
Add 64-bit stat structure mapping 64-bit stat syscall.
Change-Id: Ice517616391bee1d556b6c03e7f5ee610050e6c6
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-18 13:24:25 -07:00
Elliott Hughes
925753aa11
Fix some test assumptions that are wrong for __LP64__.
...
Change-Id: Ic79cd5858ceb611640a76bd03f3da4925d3150d9
2013-10-18 13:17:18 -07:00
Elliott Hughes
e9797ac675
Merge "Fix clone.S for x86_64."
2013-10-18 05:54:28 +00:00
Elliott Hughes
938f38daee
Fix clone.S for x86_64.
...
We need to pull the arguments off the child stack and put them into the
registers they're expected to be in.
Change-Id: I064b3258cdd89d513c632857cabb46e52492af2b
2013-10-17 22:22:31 -07:00
Elliott Hughes
8ea3453719
Merge "Add missing aliases for off64_t functions in 64-bit land."
2013-10-18 04:42:09 +00:00
Elliott Hughes
88dcfb5eba
Merge "Add ffs and memcmp16 to x86_64."
2013-10-18 04:33:29 +00:00
Elliott Hughes
8ca530e559
Add ffs and memcmp16 to x86_64.
...
Change-Id: I652c1356f1c7c52299977181c2cf154386979380
2013-10-17 17:03:22 -07:00
Elliott Hughes
a6519d6306
Add missing aliases for off64_t functions in 64-bit land.
...
See the comment in SYSCALLS.TXT for an explanation.
Change-Id: I33d4056e84160c3cca74b7b588e9924a569753ed
2013-10-17 16:56:40 -07:00
Elliott Hughes
5b19160437
Merge "Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags."
2013-10-17 20:44:07 +00:00
Andrei Emeltchenko
43d2137af0
Add SOCK_CLOEXEC and SOCK_NONBLOCK socket flags.
...
SOCK_CLOEXEC is used to atomically set close-on-exec flag for the new
descriptor(s), and SOCK_NONBLOCK is used to mark descriptor(s) as
non-blocking.
Change-Id: I8ba6a70543d23759e3ddcc7ff9c21b567184d681
2013-10-17 13:32:32 -07:00
Elliott Hughes
70cf207761
Merge "Build the linker with the same -std flags as the rest of bionic."
2013-10-17 20:15:41 +00:00
Elliott Hughes
2258347f3b
Build the linker with the same -std flags as the rest of bionic.
...
Change-Id: I5bdb28ecfdf78a90f6b072077a1c5ffd63f5d2ae
2013-10-17 13:06:20 -07:00
Elliott Hughes
41b87c6512
Merge "x86_64: Add R_X86_64_64 relocation handling"
2013-10-17 19:51:11 +00:00
Elliott Hughes
922e2af432
Merge "O_CLOEXEC is always defined for arm, mips, x86, and x86_64."
2013-10-17 19:45:35 +00:00
Elliott Hughes
e989399dc2
O_CLOEXEC is always defined for arm, mips, x86, and x86_64.
...
I built all four, just to be sure.
Change-Id: I5c818575c8142fccfc8fb163468832807a535e90
2013-10-17 11:45:22 -07:00
Elliott Hughes
967cd1bcaf
Merge "Fix sigaction(3) for 64-bit."
2013-10-17 18:38:31 +00:00
Elliott Hughes
c7e9b23317
Fix sigaction(3) for 64-bit.
...
Also clean up <signal.h> and revert the hacks that were necessary
for 64-bit in linker/debugger.cpp until now.
Change-Id: I3b0554ca8a49ee1c97cda086ce2c1954ebc11892
2013-10-17 11:36:55 -07:00
Ben Cheng
f89f1eaa60
Merge "Refresh libc/kernel/common/linux/auxvec.h"
2013-10-16 23:52:17 +00:00
Ben Cheng
76b795a8ba
Refresh libc/kernel/common/linux/auxvec.h
...
Change-Id: If9bb50a2f233cdb60e91bd979876edb917e0f66d
2013-10-16 16:50:14 -07:00
Ben Cheng
3fdd6b8337
Merge "Add processed uapi kernel headers (common and aarch64-specific)"
2013-10-16 23:17:52 +00:00
Ben Cheng
655a7c081f
Add processed uapi kernel headers (common and aarch64-specific)
...
Change-Id: If0be7b83bd8fe7cb02472d173f7c452aabf61124
2013-10-16 16:09:24 -07:00
Elliott Hughes
bffe261a1f
Merge "Sort the syscalls.mk files, give all generated files the same header."
2013-10-16 23:06:48 +00:00
Ben Cheng
f0447ddb04
Merge "Tweaked the cleanup scripts to handle uapi and aarch64 headers."
2013-10-16 22:32:12 +00:00
Ben Cheng
8bea2b6fac
Tweaked the cleanup scripts to handle uapi and aarch64 headers.
...
The processed uapi directory is now placed at libc/kernel/uapi as
opposed to libc/kernel/common/uapi as it contains
architectural-dependent headers now.
Change-Id: I53f814704a4d231b452fde398cd94257a0fb2eea
2013-10-16 15:28:56 -07:00
Elliott Hughes
103ccde8fe
Sort the syscalls.mk files, give all generated files the same header.
...
No non-comment changes to the .S files.
Change-Id: Iafcfd004c3ea92b64268f80ab16df615b97cefac
2013-10-16 14:27:59 -07:00
Elliott Hughes
1f29c2f510
Merge "Switch sigpending over to rt_sigpending."
2013-10-16 21:10:00 +00:00
Elliott Hughes
40d105ccb3
Switch sigpending over to rt_sigpending.
...
Change-Id: I7b28984796b5fb343cfbcc47e0afc3a84293d417
2013-10-16 14:07:01 -07:00
Pavel Chupin
c075c18537
x86_64: Add R_X86_64_64 relocation handling
...
Change-Id: I86ffc56fa6a9053bed44e92a579530c2beb8eb2c
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-10-16 19:13:58 +04:00
Elliott Hughes
26242bf266
Merge "Remove support for the useless 'custom' option in SYSCALLS.TXT."
2013-10-16 02:51:35 +00:00
Elliott Hughes
c9da332cce
Remove support for the useless 'custom' option in SYSCALLS.TXT.
...
This cruft dates from a time when bionic would only output syscall
contants for the syscalls mentioned in SYSCALLS.TXT. I fixed that
a long time ago, but never followed through with the removal of what
was then confusingly called "stub" and was recently renamed "custom".
Change-Id: I8f3872a200b2dc8325e357cc5ee505ea4212ef95
2013-10-15 18:18:58 -07:00
Elliott Hughes
608c65f695
Merge "Fix sigsuspend to use rt_sigsuspend on all platforms."
2013-10-16 01:16:00 +00:00