On 27 November 2012 15:08, Mark Salter <[email protected]> wrote: > On Tue, 2012-11-27 at 14:53 +0000, Markos Chandras wrote: >> > Now a crazy idea - for the arches under consideration (i.e no >> backward >> > compatibility baggage) can we simply typedef statfs/stat structures >> to >> > statfs64 and stat64 respectively. This is extending Rich's >> suggestion. >> >> That could work too. I can't think why this would break anything but I >> will know >> more once I try that locally. >> > > This should be for 32-bit systems only. There are no stat64/statfs64 > structs in 64-bit kernels. (well, except for some 32-bit compatibility > syscalls). > > --Mark > >
My understanding is that only the 32-bit structures need to be defined to match the 64-bit ones. The 32-bit syscalls need to be implemented to use the 64-bit syscall internally for existing applications to be able to link and run as expected. -- Regards, Markos _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
