Explorar o código

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 %!s(int64=17) %!d(string=hai) anos
pai
achega
5de7a21d71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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__