Browse Source

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
Chris Zankel 17 years ago
parent
commit
5de7a21d71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/xtensa/bits/uClibc_arch_features.h

+ 1 - 1
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__