crosstool-ng/patches/uClibc/0.9.30/130-arm-ftruncate64.patch
Yann E. MORIN" d1369f342b Add patchset for uClibc-0.9.30 (from Gentoo).
/trunk/patches/uClibc/0.9.30/110-arm_fix_alignment.patch               |   23    23     0     0 +++
 /trunk/patches/uClibc/0.9.30/130-arm-ftruncate64.patch                 |   17    17     0     0 ++
 /trunk/patches/uClibc/0.9.30/100-fix-gethostent_r-failure-retval.patch |   17    17     0     0 ++
 /trunk/patches/uClibc/0.9.30/120-rm-whitespace.patch                   |   88    88     0     0 ++++++++++
 /trunk/patches/uClibc/0.9.30/140-gnu89-inline.patch                    |   16    16     0     0 ++
 5 files changed, 161 insertions(+)
2009-02-08 22:07:29 +00:00

18 lines
676 B
Diff

Original patch from Gentoo.
-= BEGIN original header =-
-= END original header =-
diff -durN uClibc-0.9.30.orig/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h uClibc-0.9.30/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
--- uClibc-0.9.30.orig/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h 2008-09-25 10:50:56.000000000 +0200
+++ uClibc-0.9.30/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h 2009-02-07 09:57:59.000000000 +0100
@@ -39,4 +39,8 @@
/* define if target supports IEEE signed zero floats */
#define __UCLIBC_HAVE_SIGNED_ZERO__
+#ifdef __ARM_EABI__
+# define __UCLIBC_TRUNCATE64_HAS_4_ARGS__
+#endif
+
#endif /* _BITS_UCLIBC_ARCH_FEATURES_H */