This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to fix 2.1 versioned symbols for MIPS...


"Steven J. Hill" <sjhill@cotw.com> writes:

> A working glibc-2.1.x did not exist for MIPS, so this patch omits
> certain incompatible 2.1 versioned symbols. Please apply.

The idea is ok but I'm not sure whether the realisation is ok ;-)  The
general way is to move such things into the mips sub directory and
change them there.  Uli, what do you think?

Andreas

> -Steve
>
> 2002-01-17  Steven Hill  <sjhill@cotw.com>
>
>         * sysdeps/unix/sysv/linux/configure.in: Remove 2.1 versioned symbols for
> MIPS
>         * sysdeps/gnu/siglist.c: Likewise.
>         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
>         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
>         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
>
> ============================================================
> diff -urN glibc-2.2.5/sysdeps/gnu/siglist.c glibc-2.2.5-patched/sysdeps/gnu/sigl
> ist.c
> --- glibc-2.2.5/sysdeps/gnu/siglist.c   Thu Jul  5 23:55:51 2001
> +++ glibc-2.2.5-patched/sysdeps/gnu/siglist.c   Thu Jan 17 11:18:02 2002
> @@ -71,6 +71,8 @@
>  #endif
>  
>  strong_alias (__new_sys_siglist, _new_sys_siglist)
> +#if !defined (mips)
>  versioned_symbol (libc, __new_sys_siglist, _sys_siglist, GLIBC_2_1);
>  versioned_symbol (libc, _new_sys_siglist, sys_siglist, GLIBC_2_1);
>  versioned_symbol (libc, __new_sys_sigabbrev, sys_sigabbrev, GLIBC_2_1);
> +#endif
> diff -urN glibc-2.2.5/sysdeps/unix/sysv/linux/fxstat64.c glibc-2.2.5-patched/sys
> deps/unix/sysv/linux/fxstat64.c
> --- glibc-2.2.5/sysdeps/unix/sysv/linux/fxstat64.c      Thu Jul  5 23:56:12 2001
> +++ glibc-2.2.5-patched/sysdeps/unix/sysv/linux/fxstat64.c      Thu Jan 17 11:21
> :25 2002
> @@ -89,7 +89,7 @@
>  
>  versioned_symbol (libc, ___fxstat64, __fxstat64, GLIBC_2_2);
>  
> -#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
> +#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2) && !defined (mips)
>  strong_alias (___fxstat64, __old__fxstat64)
>  compat_symbol (libc, __old__fxstat64, __fxstat64, GLIBC_2_1);
>  #endif
> diff -urN glibc-2.2.5/sysdeps/unix/sysv/linux/lxstat64.c glibc-2.2.5-patched/sys
> deps/unix/sysv/linux/lxstat64.c
> --- glibc-2.2.5/sysdeps/unix/sysv/linux/lxstat64.c      Thu Jul  5 23:56:12 2001
> +++ glibc-2.2.5-patched/sysdeps/unix/sysv/linux/lxstat64.c      Thu Jan 17 11:21
> :53 2002
> @@ -91,7 +91,7 @@
>  
>  versioned_symbol (libc, ___lxstat64, __lxstat64, GLIBC_2_2);
>  
> -#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
> +#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2) && !defined (mips)
>  strong_alias (___lxstat64, __old__lxstat64)
>  compat_symbol (libc, __old__lxstat64, __lxstat64, GLIBC_2_1);
>  #endif
> diff -urN glibc-2.2.5/sysdeps/unix/sysv/linux/xstat64.c glibc-2.2.5-patched/sysd
> eps/unix/sysv/linux/xstat64.c
> --- glibc-2.2.5/sysdeps/unix/sysv/linux/xstat64.c       Thu Jul  5 23:56:13 2001
> +++ glibc-2.2.5-patched/sysdeps/unix/sysv/linux/xstat64.c       Thu Jan 17 11:22
> :38 2002
> @@ -95,7 +95,7 @@
>  
>  versioned_symbol (libc, ___xstat64, __xstat64, GLIBC_2_2);
>  
> -#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
> +#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2) && !defined (mips)
>  strong_alias (___xstat64, __old__xstat64)
>  compat_symbol (libc, __old__xstat64, __xstat64, GLIBC_2_1);
>  #endif

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]