+2010-08-13 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/mips/kernel-features.h
+ (__ASSUME_GETDENTS64_SYSCALL): Undefine for n32 ABI before 2.6.35.
+
2010-08-13 Chandrakala Chavva <cchavva@caviumnetworks.com>
* sysdeps/unix/mips/mips64/n64/sysdep.h (PSEUDO): Add 'nop' in
# define __ASSUME_SIGNALFD4 1
#endif
+/* The n32 syscall ABI did not have a getdents64 syscall until
+ 2.6.35. */
+#if _MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623
+# undef __ASSUME_GETDENTS64_SYSCALL
+#endif
+
#include_next <kernel-features.h>