From 7ffd2bd725c3e4d77e6bfe36b76500d20427929d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 5 May 2010 08:12:11 -0700 Subject: [PATCH] alpha: Do the 32/64-bit split on statfs routines. --- ChangeLog.alpha | 13 +++++++++++++ sysdeps/unix/sysv/linux/alpha/fstatfs64.c | 1 + sysdeps/unix/sysv/linux/alpha/fstatvfs.c | 1 + sysdeps/unix/sysv/linux/alpha/fstatvfs64.c | 1 + sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c | 1 + sysdeps/unix/sysv/linux/alpha/statfs64.c | 1 + sysdeps/unix/sysv/linux/alpha/statvfs.c | 1 + sysdeps/unix/sysv/linux/alpha/statvfs64.c | 1 + sysdeps/unix/sysv/linux/alpha/syscalls.list | 5 +++++ 9 files changed, 25 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/alpha/fstatfs64.c create mode 100644 sysdeps/unix/sysv/linux/alpha/fstatvfs.c create mode 100644 sysdeps/unix/sysv/linux/alpha/fstatvfs64.c create mode 100644 sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c create mode 100644 sysdeps/unix/sysv/linux/alpha/statfs64.c create mode 100644 sysdeps/unix/sysv/linux/alpha/statvfs.c create mode 100644 sysdeps/unix/sysv/linux/alpha/statvfs64.c diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 769be8bdc1..a12407cb99 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,3 +1,16 @@ +2010-05-05 Richard Henderson + + [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 * 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 index 0000000000..5639959adb --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/fstatfs64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/alpha/fstatvfs.c b/sysdeps/unix/sysv/linux/alpha/fstatvfs.c new file mode 100644 index 0000000000..92e772347b --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/fstatvfs.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/alpha/fstatvfs64.c b/sysdeps/unix/sysv/linux/alpha/fstatvfs64.c new file mode 100644 index 0000000000..0f1e71027a --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/fstatvfs64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c b/sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c new file mode 100644 index 0000000000..81d18f7bb2 --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/internal_statvfs64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/alpha/statfs64.c b/sysdeps/unix/sysv/linux/alpha/statfs64.c new file mode 100644 index 0000000000..fe39cc4685 --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/statfs64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/alpha/statvfs.c b/sysdeps/unix/sysv/linux/alpha/statvfs.c new file mode 100644 index 0000000000..78069e96f4 --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/statvfs.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/alpha/statvfs64.c b/sysdeps/unix/sysv/linux/alpha/statvfs64.c new file mode 100644 index 0000000000..c80e17751d --- /dev/null +++ b/sysdeps/unix/sysv/linux/alpha/statvfs64.c @@ -0,0 +1 @@ +#include diff --git a/sysdeps/unix/sysv/linux/alpha/syscalls.list b/sysdeps/unix/sysv/linux/alpha/syscalls.list index de2c3ceac0..412b675198 100644 --- a/sysdeps/unix/sysv/linux/alpha/syscalls.list +++ b/sysdeps/unix/sysv/linux/alpha/syscalls.list @@ -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 +