diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2011-05-28 20:47:43 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2011-05-30 21:14:55 +0000 |
commit | 7a5b08fb26dcfb343e2c89567bf139af252a95fd (patch) | |
tree | 425fc65f5553823f48651979fff99c63399e0f7f /sock.c | |
parent | 3087dd678088754dddc0c801008e22ca2b7b9a37 (diff) | |
download | strace-7a5b08fb26dcfb343e2c89567bf139af252a95fd.tar.gz |
ARM EABI: fix 64-bit syscall's arguments decoding
ARM OABI and ARM EABI have different function parameters passing rules.
With EABI, 64-bit function parameters passed in registers are aligned to
an even-numbered register instead of using the next available pair, see
http://lkml.org/lkml/2006/1/12/175
This rule also applies to syscall's arguments.
* linux/arm/syscallent.h (pread, pwrite, truncate64, ftruncate64,
readahead, preadv, pwritev): Fix number of arguments.
* util.c (printllval): Align 64bit argument to 64bit boundary on
__ARM_EABI__.
Reported-by: Damir Shayhutdinov <damir@altlinux.org>
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'sock.c')
0 files changed, 0 insertions, 0 deletions