diff options
author | Roland McGrath <roland@gnu.org> | 2002-10-02 08:34:07 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-10-02 08:34:07 +0000 |
commit | 72978bbbaf4eb2dec3caaddfa9e0e982b0b5e8ce (patch) | |
tree | dd7b12e8492a129e26145da41828aafc1ee502ce /sysdeps/unix/sysv/linux/powerpc/powerpc64 | |
parent | c84d1f2ed7bbd6926d0831a00ea80299172f65c3 (diff) | |
download | glibc-72978bbbaf4eb2dec3caaddfa9e0e982b0b5e8ce.tar glibc-72978bbbaf4eb2dec3caaddfa9e0e982b0b5e8ce.tar.gz glibc-72978bbbaf4eb2dec3caaddfa9e0e982b0b5e8ce.tar.bz2 glibc-72978bbbaf4eb2dec3caaddfa9e0e982b0b5e8ce.zip |
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__WORDSIZE != 32]:
(_STAT_VER): Define to _STAT_VER_KERNEL.
(stru stat, struct stat64): Define to match the PPC64 kernel.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
(libc: GLIBC_2.2): Remove __xstat64, __fxstat64, and __lxstat64.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add kernel_stat.h.
2002-10-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/xstatconv.c [STAT_IS_KERNEL_STAT]:
Conditionalize the function definitions on this.
* sysdeps/unix/sysv/linux/xstat.c (__xstat) [STAT_IS_KERNEL_STAT]:
Don't use xstat_conv, just fail if VERS != _STAT_VER_KERNEL.
* sysdeps/unix/sysv/linux/fxstat.c (__fxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* sysdeps/unix/sysv/linux/lxstat.c (__lxstat) [STAT_IS_KERNEL_STAT]:
Likewise.
* Make-dist (dist): Create .bz2 file. Add rule to create .bz2 files.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc64')
6 files changed, 25 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist index 738b9cc542..381f878080 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist @@ -1 +1,2 @@ clone.S +kernel_stat.h diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions index 0026730c17..c3f9daad4c 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions @@ -1,7 +1,6 @@ libc { GLIBC_2.2 { # functions used in other libraries - __xstat64; __fxstat64; __lxstat64; # g* glob64; diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c new file mode 100644 index 0000000000..9eff9ebeb7 --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c @@ -0,0 +1 @@ +/* fxstat64 is in fxstat.c */ diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h b/sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h new file mode 100644 index 0000000000..8a43ea4a1d --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h @@ -0,0 +1,21 @@ +/* Definition of `struct stat' used in the kernel. + Copyright (C) 2002 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#define STAT_IS_KERNEL_STAT 1 +#define XSTAT_IS_XSTAT64 1 diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c new file mode 100644 index 0000000000..bb5dbd0fff --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c @@ -0,0 +1 @@ +/* lxstat64 is in lxstat.c */ diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c b/sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c new file mode 100644 index 0000000000..e7acd3b45e --- /dev/null +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c @@ -0,0 +1 @@ +/* xstat64 is in xstat.c */ |