]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.
authorRoland McGrath <roland@hack.frob.com>
Mon, 6 Aug 2012 23:48:14 +0000 (16:48 -0700)
committerRoland McGrath <roland@hack.frob.com>
Mon, 6 Aug 2012 23:48:14 +0000 (16:48 -0700)
40 files changed:
ChangeLog
bits/typesizes.h
io/lockf.c
io/lockf64.c
libio/fseeko.c
libio/fseeko64.c
libio/ftello.c
libio/ftello64.c
libio/iofgetpos.c
libio/iofgetpos64.c
libio/iofsetpos.c
libio/iofsetpos64.c
ports/ChangeLog.alpha
ports/ChangeLog.linux-generic
ports/sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
ports/sysdeps/unix/sysv/linux/generic/bits/typesizes.h
sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
sysdeps/unix/sysv/linux/s390/bits/typesizes.h
sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
sysdeps/unix/sysv/linux/x86/bits/typesizes.h
sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/ftello.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/lockf.c [deleted file]
sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c [deleted file]
sysdeps/wordsize-64/fseeko.c [deleted file]
sysdeps/wordsize-64/fseeko64.c [deleted file]
sysdeps/wordsize-64/ftello.c [deleted file]
sysdeps/wordsize-64/ftello64.c [deleted file]
sysdeps/wordsize-64/iofgetpos.c [deleted file]
sysdeps/wordsize-64/iofgetpos64.c [deleted file]
sysdeps/wordsize-64/iofsetpos.c [deleted file]
sysdeps/wordsize-64/iofsetpos64.c [deleted file]
sysdeps/wordsize-64/lockf.c [deleted file]
sysdeps/wordsize-64/lockf64.c [deleted file]

index 81bc264ab6b69a07c99238ed86eff6c33db4da9a..a631c00e02b0f4b42627fb042cb9915b56348e48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,53 @@
+2012-08-06  Roland McGrath  <roland@hack.frob.com>
+
+       * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
+       Define lockf64 as an alias.
+       * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
+       Define fseeko64 as an alias.
+       * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
+       Define ftello64 as an alias.
+       * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
+       Define _IO_fgetpos64 and fgetpos64 as aliases.
+       * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
+       Define _IO_fsetpos64 and fsetpos64 as aliases.
+       * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
+       Conditionalize body on this.
+       * libio/fseeko64.c: Likewise.
+       * libio/ftello64.c: Likewise.
+       * libio/iofgetpos64.c: Likewise.
+       * libio/iofsetpos64.c: Likewise.
+       * sysdeps/wordsize-64/lockf.c: File removed.
+       * sysdeps/wordsize-64/lockf64.c: File removed.
+       * sysdeps/wordsize-64/fseeko.c: File removed.
+       * sysdeps/wordsize-64/fseeko64.c: File removed.
+       * sysdeps/wordsize-64/ftello.c: File removed.
+       * sysdeps/wordsize-64/ftello64.c: File removed.
+       * sysdeps/wordsize-64/iofgetpos.c: File removed.
+       * sysdeps/wordsize-64/iofgetpos64.c: File removed.
+       * sysdeps/wordsize-64/iofsetpos.c: File removed.
+       * sysdeps/wordsize-64/iofsetpos64.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
+       * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
+
+       * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
+       * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
+       [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
+       * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
+       [defined __arch64__ || defined __sparcv9]
+       (__OFF_T_MATCHES_OFF64_T): New macro.
+       * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
+       [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
+       * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
+       (__OFF_T_MATCHES_OFF64_T): New macro.
+
 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
 
        * stdlib/secure-getenv.c (__secure_getenv): Replace
index 3fd4a2e0678e4df6a107446514b1fc5e37a7d104..09959f2b452a02ce1ae0f85918fb5b85f6399629 100644 (file)
 #define __SYSCALL_SLONG_TYPE   __SLONGWORD_TYPE
 #define __SYSCALL_ULONG_TYPE   __ULONGWORD_TYPE
 
+#ifdef __LP64__
+/* Tell the libc code that off_t and off64_t are actually the same type
+   for all ABI purposes, even if possibly expressed as different base types
+   for C type-checking purposes.  */
+# define __OFF_T_MATCHES_OFF64_T       1
+#endif
+
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define        __FD_SETSIZE            1024
 
index 42232d0764b967cb651746d537b47edfb00f5370..1ee95114d75c780ae10932de08a3eeb78a0fcffc 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994,1996,1997,1998,2000,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2012 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
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+/* We need to avoid the header declaration of lockf64, because
+   the types don't match lockf and then the compiler will
+   complain about the mismatch when we do the alias below.  */
+#define lockf64        __renamed_lockf64
+
+#include <fcntl.h>
+
+#undef lockf64
+
 #include <sys/types.h>
 #include <unistd.h>
-#include <fcntl.h>
 #include <errno.h>
 #include <string.h>
 
@@ -71,3 +79,7 @@ lockf (int fd, int cmd, off_t len)
      the fcntl() function will take care of it.  */
   return __fcntl (fd, cmd, &fl);
 }
+
+#ifdef __OFF_T_MATCHES_OFF64_T
+weak_alias (lockf, lockf64)
+#endif
index 80ca151c19d1c74fc8a42702f64dab9b2c697b34..60516ebaad625740c530fe4d39d0a62383fb5733 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994,96,97,98,99,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2012 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
@@ -21,6 +21,9 @@
 #include <errno.h>
 #include <string.h>
 
+/* lockf.c defines lockf64 as an lias if __OFF_T_MATCHES_OFF64_T.  */
+#ifndef __OFF_T_MATCHES_OFF64_T
+
 /* lockf is a simplified interface to fcntl's locking facilities.  */
 
 int
@@ -76,3 +79,5 @@ lockf64 (int fd, int cmd, off64_t len64)
 
   return __fcntl (fd, cmd, &fl);
 }
+
+#endif
index 7a70636e572a030e1fd188f513baeefd673c6bc0..6d37aeaab859837dc737f3947f062e3478736b70 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1996,1997,1998,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -40,3 +40,7 @@ fseeko (fp, offset, whence)
   _IO_release_lock (fp);
   return result;
 }
+
+#ifdef __OFF_T_MATCHES_OFF64_T
+weak_alias (fseeko, fseeko64)
+#endif
index 2291f61487cd072287af45951cd9ce5f6d119736..9fbe308c56703ec470a8baf669c20ff59349a9ed 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993,1995,1996,1997,1998,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -28,6 +28,9 @@
 #include "libioP.h"
 #include "stdio.h"
 
+/* fseeko.c defines this as an alias if __OFF_T_MATCHES_OFF64_T.  */
+#ifndef __OFF_T_MATCHES_OFF64_T
+
 int
 fseeko64 (fp, offset, whence)
      _IO_FILE* fp;
@@ -46,3 +49,5 @@ fseeko64 (fp, offset, whence)
   return -1;
 #endif
 }
+
+#endif
index 1d85bc6e4c569e2009c720b3472ec2eb1545e29c..90522769eadfee985d690de35eac78f9a230a389 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995-2001, 2002, 2003, 2004, 2007
-   Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -63,3 +62,7 @@ ftello (fp)
   return pos;
 }
 libc_hidden_def (ftello)
+
+#ifdef __OFF_T_MATCHES_OFF64_T
+weak_alias (ftello, ftello64)
+#endif
index 0f70c6630b162a3fd91082c756437c93b5bf639d..852ef71ebf1fc6fd62ef9877766cd576d5adb47e 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995-2001, 2002, 2003, 2004
-   Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -30,6 +29,7 @@
 #include <libioP.h>
 #include <errno.h>
 
+#ifndef __OFF_T_MATCHES_OFF64_T
 
 off64_t
 ftello64 (fp)
@@ -60,3 +60,5 @@ ftello64 (fp)
   return -1;
 #endif
 }
+
+#endif
index 4338b5097a5ba3ea804e130d6e6bfe7da70a409d..a1d6bb693aac71ad5ea21462cb59420aab753e4e 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995-2001, 2002, 2003, 2004
-   Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
    This exception applies to code released by its copyright holders
    in files containing the exception.  */
 
+/* We need to avoid the header declarations of these, because
+   the types don't match _IO_fgetpos and then the compiler will
+   complain about the mismatch when we do the alias below.  */
+#define _IO_new_fgetpos64 __renamed__IO_new_fgetpos64
+#define _IO_fgetpos64 __renamed__IO_fgetpos64
+
 #include "libioP.h"
+
+#undef _IO_new_fgetpos64
+#undef _IO_fgetpos64
+
 #include <errno.h>
 #include <stdlib.h>
 #include <shlib-compat.h>
@@ -78,3 +87,10 @@ _IO_new_fgetpos (fp, posp)
 strong_alias (_IO_new_fgetpos, __new_fgetpos)
 versioned_symbol (libc, _IO_new_fgetpos, _IO_fgetpos, GLIBC_2_2);
 versioned_symbol (libc, __new_fgetpos, fgetpos, GLIBC_2_2);
+
+#ifdef __OFF_T_MATCHES_OFF64_T
+strong_alias (_IO_new_fgetpos, _IO_new_fgetpos64)
+strong_alias (_IO_new_fgetpos64, __new_fgetpos64)
+versioned_symbol (libc, _IO_new_fgetpos64, _IO_fgetpos64, GLIBC_2_2);
+versioned_symbol (libc, __new_fgetpos64, fgetpos64, GLIBC_2_2);
+#endif
index 0cb141b14322b66b9496653271c6b4f35ec7aeb6..9755c3273432ff520d95e3686e628f36fd6b0ea2 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995-2001, 2002, 2003, 2004
-   Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -29,6 +28,7 @@
 #include <errno.h>
 #include <shlib-compat.h>
 
+#ifndef __OFF_T_MATCHES_OFF64_T
 
 int
 _IO_new_fgetpos64 (fp, posp)
@@ -75,3 +75,5 @@ _IO_new_fgetpos64 (fp, posp)
 strong_alias (_IO_new_fgetpos64, __new_fgetpos64)
 versioned_symbol (libc, _IO_new_fgetpos64, _IO_fgetpos64, GLIBC_2_2);
 versioned_symbol (libc, __new_fgetpos64, fgetpos64, GLIBC_2_2);
+
+#endif
index 19bea3b08f0751124cc05e3de513cd28ff93c818..5e8d444d2ee7e4542c97c92223ec6afbc4ba8cd8 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1998, 1999, 2000, 2002, 2003
-   Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
    This exception applies to code released by its copyright holders
    in files containing the exception.  */
 
+/* We need to avoid the header declarations of these, because
+   the types don't match _IO_fsetpos and then the compiler will
+   complain about the mismatch when we do the alias below.  */
+#define _IO_new_fsetpos64 __renamed__IO_new_fsetpos64
+#define _IO_fsetpos64 __renamed__IO_fsetpos64
+
 #include <libioP.h>
+
+#undef _IO_new_fsetpos64
+#undef _IO_fsetpos64
+
 #include <errno.h>
 #include <shlib-compat.h>
 
@@ -63,3 +72,10 @@ _IO_new_fsetpos (fp, posp)
 strong_alias (_IO_new_fsetpos, __new_fsetpos)
 versioned_symbol (libc, _IO_new_fsetpos, _IO_fsetpos, GLIBC_2_2);
 versioned_symbol (libc, __new_fsetpos, fsetpos, GLIBC_2_2);
+
+#ifdef __OFF_T_MATCHES_OFF64_T
+strong_alias (_IO_new_fsetpos, _IO_new_fsetpos64)
+strong_alias (_IO_new_fsetpos64, __new_fsetpos64)
+versioned_symbol (libc, __new_fsetpos64, fsetpos64, GLIBC_2_2);
+versioned_symbol (libc, _IO_new_fsetpos64, _IO_fsetpos64, GLIBC_2_2);
+#endif
index 9835c127c1fa005f0418d93049dee6141b28c8aa..20edd8dd65c0bae076a9394753467213651d6012 100644 (file)
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993, 1995, 1997, 1998, 1999, 2000, 2002, 2003
-   Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 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
@@ -29,6 +28,8 @@
 #include <errno.h>
 #include <shlib-compat.h>
 
+#ifndef __OFF_T_MATCHES_OFF64_T
+
 int
 _IO_new_fsetpos64 (fp, posp)
      _IO_FILE *fp;
@@ -68,3 +69,5 @@ _IO_new_fsetpos64 (fp, posp)
 strong_alias (_IO_new_fsetpos64, __new_fsetpos64)
 versioned_symbol (libc, __new_fsetpos64, fsetpos64, GLIBC_2_2);
 versioned_symbol (libc, _IO_new_fsetpos64, _IO_fsetpos64, GLIBC_2_2);
+
+#endif
index b0d66edea738108c73541e6e8ea0783f141d320a..b13857f92d10e60961ff9af9eb5dedbb87545296 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-02  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
+       (__OFF_T_MATCHES_OFF64_T): New macro.
+
 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/alpha/configure.in
index 79d46129b3ce1335a29c8e643826f228cf14a18d..b5774de5ffa990c05fd022aa2c6eac1c3bf4b504 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-02  Roland McGrath  <roland@hack.frob.com>
+
+       * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
+       [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
+
 2012-05-30  Chris Metcalf  <cmetcalf@tilera.com>
 
        * sysdeps/unix/sysv/linux/generic/syscalls.list: Remove
index 2dbeb42a17f03dc92aeb1b4e063ddb070d1e78d1..31258e420540393f9027a34ca1dca0e982ad17c7 100644 (file)
@@ -1,5 +1,5 @@
 /* bits/typesizes.h -- underlying types for *_t.  Linux/Alpha version.
-   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+   Copyright (C) 2002-2012 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
 #define __SYSCALL_ULONG_TYPE   __ULONGWORD_TYPE
 #define __FSWORD_T_TYPE                __S32_TYPE
 
+/* Tell the libc code that off_t and off64_t are actually the same type
+   for all ABI purposes, even if possibly expressed as different base types
+   for C type-checking purposes.  */
+#define __OFF_T_MATCHES_OFF64_T        1
 
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define        __FD_SETSIZE            1024
index 948edeb96b33bce6e63b382e2cf988f5e36e5e46..670c6d119fcd2dd20a8f5c2db845cd441b7c3a87 100644 (file)
 #define __SYSCALL_SLONG_TYPE   __SLONGWORD_TYPE
 #define __SYSCALL_ULONG_TYPE   __ULONGWORD_TYPE
 
+#ifdef __LP64__
+/* Tell the libc code that off_t and off64_t are actually the same type
+   for all ABI purposes, even if possibly expressed as different base types
+   for C type-checking purposes.  */
+# define __OFF_T_MATCHES_OFF64_T       1
+#endif
+
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define        __FD_SETSIZE            1024
 
index 02c24e44c0d4e06b7490b8eb771812ca6dec630f..67d82e6e75078b69ba37b83824c1ee45b55e5491 100644 (file)
 #define __SYSCALL_SLONG_TYPE   __SLONGWORD_TYPE
 #define __SYSCALL_ULONG_TYPE   __ULONGWORD_TYPE
 
+
+/* Tell the libc code that off_t and off64_t are actually the same type.  */
+#define __OFF_T_MATCHES_OFF64_T        1
+
+
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define        __FD_SETSIZE            1024
 
index def84cc79035332434c8d821974da1fcf6184ac7..bf3d8b761e7136184372292b38214d6c3fbc5cc6 100644 (file)
 #define __SYSCALL_SLONG_TYPE   __SLONGWORD_TYPE
 #define __SYSCALL_ULONG_TYPE   __ULONGWORD_TYPE
 
+#ifdef __s390x__
+/* Tell the libc code that off_t and off64_t are actually the same type
+   for all ABI purposes, even if possibly expressed as different base types
+   for C type-checking purposes.  */
+# define __OFF_T_MATCHES_OFF64_T       1
+#endif
+
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define        __FD_SETSIZE            1024
 
index b65a1a5cdb69df392461a040fd7050c52bcda559..7b1f19184b2b5166612b1116334cbd086c6f0453 100644 (file)
 #define __SYSCALL_SLONG_TYPE   __SLONGWORD_TYPE
 #define __SYSCALL_ULONG_TYPE   __ULONGWORD_TYPE
 
+#if defined __arch64__ || defined __sparcv9
+/* Tell the libc code that off_t and off64_t are actually the same type
+   for all ABI purposes, even if possibly expressed as different base types
+   for C type-checking purposes.  */
+# define __OFF_T_MATCHES_OFF64_T       1
+#endif
+
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define        __FD_SETSIZE            1024
 
index be8985b4c65f97b6354bc1dae6473a21f2278ba7..a477627a1b874d9647bda24fc7670c1ccd4ad346 100644 (file)
 #define __FSID_T_TYPE          struct { int __val[2]; }
 #define __SSIZE_T_TYPE         __SWORD_TYPE
 
+#ifdef __x86_64__
+/* Tell the libc code that off_t and off64_t are actually the same type
+   for all ABI purposes, even if possibly expressed as different base types
+   for C type-checking purposes.  */
+# define __OFF_T_MATCHES_OFF64_T       1
+#endif
+
 /* Number of descriptors that can fit in an `fd_set'.  */
 #define __FD_SETSIZE           1024
 
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c b/sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c
deleted file mode 100644 (file)
index dc47698..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/fseeko.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c b/sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c
deleted file mode 100644 (file)
index 3e554ec..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/fseeko64.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/ftello.c b/sysdeps/unix/sysv/linux/x86_64/x32/ftello.c
deleted file mode 100644 (file)
index 735e3e1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/ftello.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c b/sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c
deleted file mode 100644 (file)
index eb155ed..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/ftello64.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c b/sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c
deleted file mode 100644 (file)
index de2ff01..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/iofgetpos.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c b/sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c
deleted file mode 100644 (file)
index 34aabfc..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/iofgetpos64.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c b/sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c
deleted file mode 100644 (file)
index a4c99c9..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/iofsetpos.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c b/sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c
deleted file mode 100644 (file)
index e83fbba..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/iofsetpos64.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/lockf.c b/sysdeps/unix/sysv/linux/x86_64/x32/lockf.c
deleted file mode 100644 (file)
index 42306a0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/lockf.c>
diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c b/sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c
deleted file mode 100644 (file)
index 3b4b55a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-#include <sysdeps/wordsize-64/lockf64.c>
diff --git a/sysdeps/wordsize-64/fseeko.c b/sysdeps/wordsize-64/fseeko.c
deleted file mode 100644 (file)
index 692885a..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "../../libio/fseeko.c"
-
-weak_alias (fseeko, fseeko64)
diff --git a/sysdeps/wordsize-64/fseeko64.c b/sysdeps/wordsize-64/fseeko64.c
deleted file mode 100644 (file)
index 73e011a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/* Defined in fseeko.c.  */
diff --git a/sysdeps/wordsize-64/ftello.c b/sysdeps/wordsize-64/ftello.c
deleted file mode 100644 (file)
index fa05cfc..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "../../libio/ftello.c"
-
-weak_alias (ftello, ftello64)
diff --git a/sysdeps/wordsize-64/ftello64.c b/sysdeps/wordsize-64/ftello64.c
deleted file mode 100644 (file)
index 2cbbe63..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/* Defined in ftello.c.  */
diff --git a/sysdeps/wordsize-64/iofgetpos.c b/sysdeps/wordsize-64/iofgetpos.c
deleted file mode 100644 (file)
index ba8df67..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#define _IO_new_fgetpos64 __renamed__IO_new_fgetpos64
-#define _IO_fgetpos64 __renamed__IO_fgetpos64
-
-#include "../../libio/iofgetpos.c"
-
-#undef _IO_new_fgetpos64
-#undef _IO_fgetpos64
-
-strong_alias (_IO_new_fgetpos, _IO_new_fgetpos64)
-strong_alias (_IO_new_fgetpos64, __new_fgetpos64)
-versioned_symbol (libc, _IO_new_fgetpos64, _IO_fgetpos64, GLIBC_2_2);
-versioned_symbol (libc, __new_fgetpos64, fgetpos64, GLIBC_2_2);
diff --git a/sysdeps/wordsize-64/iofgetpos64.c b/sysdeps/wordsize-64/iofgetpos64.c
deleted file mode 100644 (file)
index 1748b81..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/* Defined in iofgetpos.c.  */
diff --git a/sysdeps/wordsize-64/iofsetpos.c b/sysdeps/wordsize-64/iofsetpos.c
deleted file mode 100644 (file)
index f2bb8ae..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#define _IO_new_fsetpos64 __renamed__IO_new_fsetpos64
-#define _IO_fsetpos64 __renamed__IO_fsetpos64
-
-#include "../../libio/iofsetpos.c"
-
-#undef _IO_new_fsetpos64
-#undef _IO_fsetpos64
-
-strong_alias (_IO_new_fsetpos, _IO_new_fsetpos64)
-strong_alias (_IO_new_fsetpos64, __new_fsetpos64)
-versioned_symbol (libc, __new_fsetpos64, fsetpos64, GLIBC_2_2);
-versioned_symbol (libc, _IO_new_fsetpos64, _IO_fsetpos64, GLIBC_2_2);
diff --git a/sysdeps/wordsize-64/iofsetpos64.c b/sysdeps/wordsize-64/iofsetpos64.c
deleted file mode 100644 (file)
index 5fbc732..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/* Defined in iofsetpos.c.  */
diff --git a/sysdeps/wordsize-64/lockf.c b/sysdeps/wordsize-64/lockf.c
deleted file mode 100644 (file)
index 502472d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#include "../../io/lockf.c"
-
-weak_alias (lockf, lockf64)
diff --git a/sysdeps/wordsize-64/lockf64.c b/sysdeps/wordsize-64/lockf64.c
deleted file mode 100644 (file)
index 8ef5fc6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/* Defined in lockf.c.  */