瀏覽代碼

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 年之前
父節點
當前提交
5de7a21d71
共有 1 個文件被更改,包括 1 次插入1 次删除
  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__