diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-01 16:37:08 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-01 22:39:10 +0000 |
commit | 0eeda2cdaac422a1510be642571771d22c5349d6 (patch) | |
tree | b6d7d41293324408df8b47aacfaf82d90c8e8c04 /linux | |
parent | 44f0ed1ca560cad60194ae0542b9e223bdeff92b (diff) | |
download | strace-0eeda2cdaac422a1510be642571771d22c5349d6.tar.gz strace-0eeda2cdaac422a1510be642571771d22c5349d6.tar.bz2 strace-0eeda2cdaac422a1510be642571771d22c5349d6.tar.xz |
x32: fix build regressions introduced by commit v4.7-96-g8435d67
* desc.c (printflock) [X32]: Add special handling required for
this architecture with sizeof(long) < sizeof(off_t).
* file.c [X32] (struct stat64): Add __attribute__((packed)).
[X32] (HAVE_STAT64): Define.
(printstat) [X32]: Redirect to printstat64.
(printstat64) [X32]: Use "struct stat" instead of "struct stat64".
[X32] (realprintstat64): Rename to printstat64_x32.
(sys_stat64, sys_fstat64) [X32]: Remove second definitions of these
functions. Call printstat64_x32 instead of printstat64
* linux/x32/syscallent.h: Fix handlers for truncate and ftruncate.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/x32/syscallent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 4adf66b..0098e76 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -74,8 +74,8 @@ { 2, TD, sys_flock, "flock" }, /* 73 */ { 1, TD, sys_fsync, "fsync" }, /* 74 */ { 1, TD, sys_fdatasync, "fdatasync" }, /* 75 */ - { 2, TF, sys_truncate, "truncate" }, /* 76 */ - { 2, TD, sys_ftruncate, "ftruncate" }, /* 77 */ + { 2, TF, sys_truncate64, "truncate" }, /* 76 */ + { 2, TD, sys_ftruncate64, "ftruncate" }, /* 77 */ { 3, TD, sys_getdents, "getdents" }, /* 78 */ { 2, TF, sys_getcwd, "getcwd" }, /* 79 */ { 1, TF, sys_chdir, "chdir" }, /* 80 */ |