patches/uClibc/0.9.30.1/130-arm-ftruncate64.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Apr 21 20:28:26 2009 +0000 (2009-04-21)
branch1.4
changeset 1305 b8fe0b2f381c
permissions -rw-r--r--
1.4: update all samples.

-------- diffstat follows --------
/branches/1.4/samples/armeb-unknown-linux-uclibc/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/sh4-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/x86_64-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/arm-unknown-linux-gnueabi/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/ia64-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/x86_64-unknown-linux-uclibc/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/armeb-unknown-linux-gnueabi/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/i686-nptl-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/arm-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/powerpc-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/mips-unknown-linux-uclibc/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/arm-iphone-linux-gnueabi/crosstool.config | 31 5 26 0 ++-----------
/branches/1.4/samples/armeb-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/i586-geode-linux-uclibc/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/arm-unknown-linux-uclibc/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/powerpc-unknown-linux-uclibc/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/powerpc-405-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/mipsel-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/powerpc64-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/alphaev56-unknown-linux-gnu/crosstool.config | 25 2 23 0 +---------
/branches/1.4/samples/powerpc-860-linux-gnu/crosstool.config | 25 2 23 0 +---------
25 files changed, 53 insertions(+), 578 deletions(-)
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 */