alpha: Do the 32/64-bit split on statfs routines.
authorRichard Henderson <rth@twiddle.net>
Wed, 5 May 2010 15:12:11 +0000 (08:12 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 5 May 2010 15:12:11 +0000 (08:12 -0700)
ChangeLog.alpha
sysdeps/unix/sysv/linux/alpha/fstatfs64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/fstatvfs.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/fstatvfs64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/statfs64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/statvfs.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/statvfs64.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/alpha/syscalls.list

index 769be8b..a12407c 100644 (file)
@@ -1,3 +1,16 @@
+2010-05-05  Richard Henderson  <rth@redhat.com>
+
+       [BZ #1864]
+       * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New.
+       * sysdeps/unix/sysv/linux/alpha/fstatvfs.c: New.
+       * sysdeps/unix/sysv/linux/alpha/fstatvfs64.c: New.
+       * sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c: New.
+       * sysdeps/unix/sysv/linux/alpha/statfs64.c: New.
+       * sysdeps/unix/sysv/linux/alpha/statvfs.c: New.
+       * sysdeps/unix/sysv/linux/alpha/statvfs64.c: New.
+       * sysdeps/unix/sysv/linux/alpha/syscalls.list (fstatfs, statfs):
+       Define without 64-bit aliases.
+
 2010-05-03  Aurelien Jarno  <aurelien@aurel32.net>
  
        * sysdeps/alpha/memchr.S: Use prefetch load.
diff --git a/sysdeps/unix/sysv/linux/alpha/fstatfs64.c b/sysdeps/unix/sysv/linux/alpha/fstatfs64.c
new file mode 100644 (file)
index 0000000..5639959
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/fstatfs64.c>
diff --git a/sysdeps/unix/sysv/linux/alpha/fstatvfs.c b/sysdeps/unix/sysv/linux/alpha/fstatvfs.c
new file mode 100644 (file)
index 0000000..92e7723
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/fstatvfs.c>
diff --git a/sysdeps/unix/sysv/linux/alpha/fstatvfs64.c b/sysdeps/unix/sysv/linux/alpha/fstatvfs64.c
new file mode 100644 (file)
index 0000000..0f1e710
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/fstatvfs64.c>
diff --git a/sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c b/sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c
new file mode 100644 (file)
index 0000000..81d18f7
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/internal_statvfs64.c>
diff --git a/sysdeps/unix/sysv/linux/alpha/statfs64.c b/sysdeps/unix/sysv/linux/alpha/statfs64.c
new file mode 100644 (file)
index 0000000..fe39cc4
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/statfs64.c>
diff --git a/sysdeps/unix/sysv/linux/alpha/statvfs.c b/sysdeps/unix/sysv/linux/alpha/statvfs.c
new file mode 100644 (file)
index 0000000..78069e9
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/statvfs.c>
diff --git a/sysdeps/unix/sysv/linux/alpha/statvfs64.c b/sysdeps/unix/sysv/linux/alpha/statvfs64.c
new file mode 100644 (file)
index 0000000..c80e177
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/statvfs64.c>
index de2c3ce..412b675 100644 (file)
@@ -53,3 +53,8 @@ osf_setitimer -       osf_setitimer   3       __setitimer_tv32  setitimer@GLIBC_2.0
 osf_utimes     -       osf_utimes      2       __utimes_tv32  utimes@GLIBC_2.0
 osf_getrusage  -       osf_getrusage   2       __getrusage_tv32  getrusage@GLIBC_2.0
 osf_wait4      -       osf_wait4       2       __wait4_tv32  wait4@GLIBC_2.0
+
+# avoid 64-bit aliases on 32-bit statfs syscalls
+fstatfs                -       fstatfs         i:ip    __fstatfs       fstatfs
+statfs         -       statfs          i:sp    __statfs        statfs
+