about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--conform/data/sys/stat.h-data3
-rw-r--r--sysdeps/unix/sysv/linux/mips/mips32/Makefile4
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 405b594dc3..517d6d356f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #17786]
+	* sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
+	* conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
+	mips-o32-linux.
+
 	[BZ #21260]
 	* sysdeps/unix/sysv/linux/alpha/Makefile
 	[$(subdir) = conform] (conformtest-xfail-conds): New variable.
diff --git a/conform/data/sys/stat.h-data b/conform/data/sys/stat.h-data
index f7a944adc5..79293bfe19 100644
--- a/conform/data/sys/stat.h-data
+++ b/conform/data/sys/stat.h-data
@@ -26,7 +26,8 @@ type time_t
 
 type {struct stat}
 
-element {struct stat} dev_t st_dev
+// Bug 17786: st_dev has wrong type.
+xfail[mips-o32-linux]-element {struct stat} dev_t st_dev
 element {struct stat} ino_t st_ino
 element {struct stat} mode_t st_mode
 element {struct stat} nlink_t st_nlink
diff --git a/sysdeps/unix/sysv/linux/mips/mips32/Makefile b/sysdeps/unix/sysv/linux/mips/mips32/Makefile
new file mode 100644
index 0000000000..0938f4097b
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/mips/mips32/Makefile
@@ -0,0 +1,4 @@
+ifeq ($(subdir),conform)
+# For bug 17786.
+conformtest-xfail-conds += mips-o32-linux
+endif