Package: dietlibc Version: 0.33~cvs20120325 Severity: important Tags: patch
Here is another (last) patch for dietlibc on hppa. It fixes the ftruncate64 and truncate64 syscalls, so that the debian util-vserver package can be built. It adds two new assembly files in the parisc/ subdir. Please apply. Will send upstream too. Thanks, Helge
diff -up ./parisc/ftruncate64.S.org ./parisc/ftruncate64.S --- ./parisc/ftruncate64.S.org 2014-11-11 22:57:52.780223897 +0100 +++ ./parisc/ftruncate64.S 2014-11-11 22:47:47.580347165 +0100 @@ -0,0 +1,12 @@ +#include "parisc/syscalls.h" + +.text +.type ftruncate64,@function +.globl ftruncate64 +.export ftruncate64 +ftruncate64: +#if !defined(__LP64__) + copy %arg3,%arg1 +#endif + b __unified_syscall + ldi __NR_ftruncate64, %r20 diff -up ./parisc/truncate64.S.org ./parisc/truncate64.S --- ./parisc/truncate64.S.org 2014-11-11 22:57:55.372223373 +0100 +++ ./parisc/truncate64.S 2014-11-11 22:48:31.916338041 +0100 @@ -0,0 +1,12 @@ +#include "parisc/syscalls.h" + +.text +.type truncate64,@function +.globl truncate64 +.export truncate64 +truncate64: +#if !defined(__LP64__) + copy %arg3,%arg1 +#endif + b __unified_syscall + ldi __NR_truncate64, %r20