[patch] Arm EABI stat64 broken
Paul Brook
paul at codesourcery.com
Sat Jun 24 14:52:03 UTC 2006
The Arm EABI kernel interface changed the layout and size of struct stat64.
The patch below changes uClibc struct kernel_stat64 accordingly.
Paul
=== libc/sysdeps/linux/arm/bits/kernel_stat.h
==================================================================
--- libc/sysdeps/linux/arm/bits/kernel_stat.h (revision 130590)
+++ libc/sysdeps/linux/arm/bits/kernel_stat.h (local)
@@ -68,6 +68,10 @@
unsigned long st_ctime;
unsigned long st_ctime_nsec;
unsigned long long st_ino;
-} __attribute__((packed));
+}
+#ifndef __ARM_EABI__
+__attribute__((packed))
+#endif
+;
More information about the uClibc
mailing list