about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-08-09 23:33:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-09 23:33:41 +0000
commit7f540252876b853889c9482c9086ac1c55fe6e3c (patch)
tree0b7a7bb7fa0f29cf0ab9e16b1e40eacb925afc68
parentf85fa27058eb7d4b56b8deaf885064cf8d730f68 (diff)
downloadglibc-7f540252876b853889c9482c9086ac1c55fe6e3c.tar.gz
glibc-7f540252876b853889c9482c9086ac1c55fe6e3c.tar.xz
glibc-7f540252876b853889c9482c9086ac1c55fe6e3c.zip
Define __ASSUME_UTIMES for MIPS.
-rw-r--r--ports/ChangeLog.mips5
-rw-r--r--ports/sysdeps/unix/sysv/linux/mips/kernel-features.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index b49630e90d..0c503bcafb 100644
--- a/ports/ChangeLog.mips
+++ b/ports/ChangeLog.mips
@@ -1,3 +1,8 @@
+2012-08-09  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/sysv/linux/mips/kernel-features.h
+	(__ASSUME_UTIMES): Define.
+
 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/unix/sysv/linux/mips/configure.in (arch_minimum_kernel):
diff --git a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
index 996ba0aedf..62c1604e9f 100644
--- a/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
+++ b/ports/sysdeps/unix/sysv/linux/mips/kernel-features.h
@@ -22,6 +22,9 @@
 /* MIPS platforms had IPC64 all along.  */
 #define __ASSUME_IPC64		1
 
+/* MIPS had the utimes syscall by 2.6.0.  */
+#define __ASSUME_UTIMES		1
+
 /* Support for the eventfd2 and signalfd4 syscalls was added in 2.6.27.  */
 #if __LINUX_KERNEL_VERSION >= 0x02061c
 # define __ASSUME_EVENTFD2	1