]> granicus.if.org Git - strace/commit
x32: fix build regressions introduced by commit v4.7-96-g8435d67
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 1 May 2013 16:37:08 +0000 (16:37 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 1 May 2013 22:39:10 +0000 (22:39 +0000)
commit0eeda2cdaac422a1510be642571771d22c5349d6
treeb6d7d41293324408df8b47aacfaf82d90c8e8c04
parent44f0ed1ca560cad60194ae0542b9e223bdeff92b
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.
desc.c
file.c
linux/x32/syscallent.h