Improve MIPS n64 handling of 64-bit fcntl.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 31 Jul 2012 23:17:24 +0000 (23:17 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 31 Jul 2012 23:17:24 +0000 (23:17 +0000)
ports/ChangeLog.mips
ports/sysdeps/unix/sysv/linux/mips/mips32/fcntl.c [moved from ports/sysdeps/unix/sysv/linux/mips/fcntl.c with 100% similarity]
ports/sysdeps/unix/sysv/linux/mips/mips32/lockf64.c [moved from ports/sysdeps/unix/sysv/linux/mips/lockf64.c with 100% similarity]
ports/sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c [new file with mode: 0644]
ports/sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c [new file with mode: 0644]

index a1b6dc5..4e45ae7 100644 (file)
@@ -1,3 +1,12 @@
+2012-07-31  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/fcntl.c: Remove.
+       * sysdeps/unix/sysv/linux/mips/lockf64.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: New file.
+       * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
+       * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
+
 2012-07-27  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): New.
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c b/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c
new file mode 100644 (file)
index 0000000..ea951bc
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/fcntl.c>
diff --git a/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c b/ports/sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c
new file mode 100644 (file)
index 0000000..a88f5a7
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/lockf64.c>