summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 08:50:56 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-25 08:50:56 +0000
commit093b396bc55a3ca43a93973e79cdaccb43d9f8d6 (patch)
treea67a8449eb7f1e2696a9be84f06fa661aa73da08 /libc/sysdeps/linux/arm
parent0cd1b049b974717a0fe39778e8fa5634eee33338 (diff)
- arm eabi needs __UCLIBC_TRUNCATE64_HAS_4_ARGS__
(75_all_uClibc-arm-ftruncate64.patch from gentoo)
Diffstat (limited to 'libc/sysdeps/linux/arm')
-rw-r--r--libc/sysdeps/linux/arm/bits/uClibc_arch_features.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h b/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
index 85c9adb8a..0e33f9cdf 100644
--- a/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/arm/bits/uClibc_arch_features.h
@@ -12,7 +12,11 @@
#undef __UCLIBC_MMAP_HAS_6_ARGS__
/* does your target use syscall4() for truncate64 ? (32bit arches only) */
+#ifdef __ARM_EABI__
+#define __UCLIBC_TRUNCATE64_HAS_4_ARGS__
+#else
#undef __UCLIBC_TRUNCATE64_HAS_4_ARGS__
+#endif
/* does your target have a broken create_module() ? */
#define __UCLIBC_BROKEN_CREATE_MODULE__