patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Jan 03 23:40:22 2011 +0100 (2011-01-03)
changeset 2267 7af68e6083aa
permissions -rw-r--r--
libc-glibc: remove 2.3.6

This is an obsolete version which is no longer used by any sample (the only
user, the ia64 sample, has been removed).

It also makes the code path a bit complex, with twists just to accomodate
that version. Removing the version will make those twists go away, and
will ease commonalisation of glibc and eglibc in the future (hopefully!).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@1248
     1
Original patch from Gentoo.
yann@1248
     2
yann@1248
     3
-= BEGIN original header =-
yann@1248
     4
-= END original header =-
yann@1248
     5
yann@1248
     6
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
yann@1248
     7
--- uClibc-0.9.30.orig/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h	2008-09-25 10:50:56.000000000 +0200
yann@1248
     8
+++ uClibc-0.9.30/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h	2009-02-07 09:57:59.000000000 +0100
yann@1248
     9
@@ -39,4 +39,8 @@
yann@1248
    10
 /* define if target supports IEEE signed zero floats */
yann@1248
    11
 #define __UCLIBC_HAVE_SIGNED_ZERO__
yann@1248
    12
 
yann@1248
    13
+#ifdef __ARM_EABI__
yann@1248
    14
+# define __UCLIBC_TRUNCATE64_HAS_4_ARGS__
yann@1248
    15
+#endif
yann@1248
    16
+
yann@1248
    17
 #endif /* _BITS_UCLIBC_ARCH_FEATURES_H */