summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2008-09-13 20:22:33 +0000
committerChris Zankel <chris@zankel.net>2008-09-13 20:22:33 +0000
commit5de7a21d7139e71ca6307ed4e2837d69b2f06d56 (patch)
treeb718fe717980fc10e59d2dda181c6b89b7a21b22 /libc
parentc0a0655a5a3bb81f1b086c9f24f145615c3c52f0 (diff)
xtensa: The Xtensa port needs to define the __UCLIBC_TRUNCATE64_HAS_4_ARGS__ macro so that a dummy argument will be inserted before the long long length argument, which is expected to be in an even/odd register pair.
-This line, and those below, will be ignored-- M uClibc_arch_features.h
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h b/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
index 142aacd53..d6a99b4d2 100644
--- a/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h
@@ -12,7 +12,7 @@
#define __UCLIBC_MMAP_HAS_6_ARGS__
/* does your target use syscall4() for truncate64 ? (32bit arches only) */
-#undef __UCLIBC_TRUNCATE64_HAS_4_ARGS__
+#define __UCLIBC_TRUNCATE64_HAS_4_ARGS__
/* does your target have a broken create_module() ? */
#undef __UCLIBC_BROKEN_CREATE_MODULE__