diff options
-rw-r--r-- | ChangeLog | 12 | ||||
-rw-r--r-- | sysdeps/generic/fegetenv.c | 5 | ||||
-rw-r--r-- | sysdeps/generic/open64.c | 5 | ||||
-rw-r--r-- | sysdeps/posix/open64.c | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fegetenv.c | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fesetenv.c | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/feupdateenv.c | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fgetexcptflg.c | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fraiseexcpt.c | 5 | ||||
-rw-r--r-- | sysdeps/powerpc/fpu/fsetexcptflg.c | 5 |
10 files changed, 39 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog index 1a04704e4a..88ca7562b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2000-07-12 Greg McGary <greg@mcgary.org> + + * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM (). + * sysdeps/posix/open64.c: Likewise. + * sysdeps/generic/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fegetenv.c: Likewise. + * sysdeps/powerpc/fpu/fesetenv.c: Likewise. + * sysdeps/powerpc/fpu/feupdateenv.c: Likewise. + * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise. + * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise. + * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise. + 2000-07-11 Greg McGary <greg@mcgary.org> * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias): diff --git a/sysdeps/generic/fegetenv.c b/sysdeps/generic/fegetenv.c index 4b30754249..7ae42e23ef 100644 --- a/sysdeps/generic/fegetenv.c +++ b/sysdeps/generic/fegetenv.c @@ -20,6 +20,7 @@ #include <fenv.h> #include <shlib-compat.h> +#include <bp-sym.h> int fegetenv (fenv_t *envp) @@ -29,9 +30,9 @@ fegetenv (fenv_t *envp) } #if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2) strong_alias (__fegetenv, __old_fegetenv) -compat_symbol (libm, __old_fegetenv, fegetenv, GLIBC_2_1); +compat_symbol (libm, BP_SYM (__old_fegetenv), BP_SYM (fegetenv), GLIBC_2_1); #endif -versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2); +versioned_symbol (libm, BP_SYM (__fegetenv), BP_SYM (fegetenv), GLIBC_2_2); stub_warning (fegetenv) #include <stub-tag.h> diff --git a/sysdeps/generic/open64.c b/sysdeps/generic/open64.c index c90b00c7cd..4145615b15 100644 --- a/sysdeps/generic/open64.c +++ b/sysdeps/generic/open64.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 1999, 2000 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 @@ -20,6 +20,7 @@ #include <fcntl.h> #include <stdarg.h> #include <stddef.h> +#include <bp-sym.h> /* Open FILE with access OFLAG. If OFLAG includes O_CREAT, a third argument is the file protection. */ @@ -48,7 +49,7 @@ __libc_open64 (file, oflag) return -1; } strong_alias (__libc_open64, __open64) -weak_alias (__libc_open64, open64) +weak_alias (__libc_open64, BP_SYM (open64)) stub_warning (open64) #include <stub-tag.h> diff --git a/sysdeps/posix/open64.c b/sysdeps/posix/open64.c index 844513fc8d..a90420a48a 100644 --- a/sysdeps/posix/open64.c +++ b/sysdeps/posix/open64.c @@ -18,6 +18,7 @@ #include <fcntl.h> #include <stdarg.h> +#include <bp-sym.h> /* Open FILE with access OFLAG. If OFLAG includes O_CREAT, a third argument is the file protection. */ @@ -36,5 +37,5 @@ __libc_open64 (const char *file, int oflag, ...) return __libc_open (file, oflag | O_LARGEFILE, mode); } -weak_alias (__libc_open64, __open64) -weak_alias (__libc_open64, open64) +weak_alias (__libc_open64, BP_SYM (__open64)) +weak_alias (__libc_open64, BP_SYM (open64)) diff --git a/sysdeps/powerpc/fpu/fegetenv.c b/sysdeps/powerpc/fpu/fegetenv.c index 0d7810264e..99788b3965 100644 --- a/sysdeps/powerpc/fpu/fegetenv.c +++ b/sysdeps/powerpc/fpu/fegetenv.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv_libc.h> +#include <bp-sym.h> int __fegetenv (fenv_t *envp) @@ -28,5 +29,5 @@ __fegetenv (fenv_t *envp) return 0; } strong_alias (__fegetenv, __old_fegetenv) -symbol_version (__old_fegetenv, fegetenv, GLIBC_2.1); -default_symbol_version (__fegetenv, fegetenv, GLIBC_2.2); +symbol_version (BP_SYM (__old_fegetenv), BP_SYM (fegetenv), GLIBC_2.1); +default_symbol_version (BP_SYM (__fegetenv), BP_SYM (fegetenv), GLIBC_2.2); diff --git a/sysdeps/powerpc/fpu/fesetenv.c b/sysdeps/powerpc/fpu/fesetenv.c index 2fadc851d0..762c982cc6 100644 --- a/sysdeps/powerpc/fpu/fesetenv.c +++ b/sysdeps/powerpc/fpu/fesetenv.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv_libc.h> +#include <bp-sym.h> int __fesetenv (const fenv_t *envp) @@ -28,5 +29,5 @@ __fesetenv (const fenv_t *envp) return 0; } strong_alias (__fesetenv, __old_fesetenv) -symbol_version (__old_fesetenv, fesetenv, GLIBC_2.1); -default_symbol_version (__fesetenv, fesetenv, GLIBC_2.2); +symbol_version (BP_SYM (__old_fesetenv), BP_SYM (fesetenv), GLIBC_2.1); +default_symbol_version (BP_SYM (__fesetenv), BP_SYM (fesetenv), GLIBC_2.2); diff --git a/sysdeps/powerpc/fpu/feupdateenv.c b/sysdeps/powerpc/fpu/feupdateenv.c index 8c47365513..b6cc9c6ed3 100644 --- a/sysdeps/powerpc/fpu/feupdateenv.c +++ b/sysdeps/powerpc/fpu/feupdateenv.c @@ -19,6 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv_libc.h> +#include <bp-sym.h> int __feupdateenv (const fenv_t *envp) @@ -39,5 +40,5 @@ __feupdateenv (const fenv_t *envp) return 0; } strong_alias (__feupdateenv, __old_feupdateenv) -symbol_version (__old_feupdateenv, feupdateenv, GLIBC_2.1); -default_symbol_version (__feupdateenv, feupdateenv, GLIBC_2.2); +symbol_version (BP_SYM (__old_feupdateenv), BP_SYM (feupdateenv), GLIBC_2.1); +default_symbol_version (BP_SYM (__feupdateenv), BP_SYM (feupdateenv), GLIBC_2.2); diff --git a/sysdeps/powerpc/fpu/fgetexcptflg.c b/sysdeps/powerpc/fpu/fgetexcptflg.c index 25b1c4b8e8..b70fb34eb7 100644 --- a/sysdeps/powerpc/fpu/fgetexcptflg.c +++ b/sysdeps/powerpc/fpu/fgetexcptflg.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv_libc.h> +#include <bp-sym.h> int __fegetexceptflag (fexcept_t *flagp, int excepts) @@ -34,5 +35,5 @@ __fegetexceptflag (fexcept_t *flagp, int excepts) return 0; } strong_alias (__fegetexceptflag, __old_fegetexceptflag) -symbol_version (__old_fegetexceptflag, fegetexceptflag, GLIBC_2.1); -default_symbol_version (__fegetexceptflag, fegetexceptflag, GLIBC_2.2); +symbol_version (BP_SYM (__old_fegetexceptflag), BP_SYM (fegetexceptflag), GLIBC_2.1); +default_symbol_version (BP_SYM (__fegetexceptflag), BP_SYM (fegetexceptflag), GLIBC_2.2); diff --git a/sysdeps/powerpc/fpu/fraiseexcpt.c b/sysdeps/powerpc/fpu/fraiseexcpt.c index 4fe9ff9071..34142289f4 100644 --- a/sysdeps/powerpc/fpu/fraiseexcpt.c +++ b/sysdeps/powerpc/fpu/fraiseexcpt.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv_libc.h> +#include <bp-sym.h> #undef feraiseexcept int @@ -55,5 +56,5 @@ __feraiseexcept (int excepts) return 0; } strong_alias (__feraiseexcept, __old_feraiseexcept) -symbol_version (__old_feraiseexcept, feraiseexcept, GLIBC_2.1); -default_symbol_version (__feraiseexcept, feraiseexcept, GLIBC_2.2); +symbol_version (BP_SYM (__old_feraiseexcept), BP_SYM (feraiseexcept), GLIBC_2.1); +default_symbol_version (BP_SYM (__feraiseexcept), BP_SYM (feraiseexcept), GLIBC_2.2); diff --git a/sysdeps/powerpc/fpu/fsetexcptflg.c b/sysdeps/powerpc/fpu/fsetexcptflg.c index b84ede5d44..f1c010fe8c 100644 --- a/sysdeps/powerpc/fpu/fsetexcptflg.c +++ b/sysdeps/powerpc/fpu/fsetexcptflg.c @@ -18,6 +18,7 @@ Boston, MA 02111-1307, USA. */ #include <fenv_libc.h> +#include <bp-sym.h> int __fesetexceptflag (const fexcept_t *flagp, int excepts) @@ -50,5 +51,5 @@ __fesetexceptflag (const fexcept_t *flagp, int excepts) return 0; } strong_alias (__fesetexceptflag, __old_fesetexceptflag) -symbol_version (__old_fesetexceptflag, fesetexceptflag, GLIBC_2.1); -default_symbol_version (__fesetexceptflag, fesetexceptflag, GLIBC_2.2); +symbol_version (BP_SYM (__old_fesetexceptflag), BP_SYM (fesetexceptflag), GLIBC_2.1); +default_symbol_version (BP_SYM (__fesetexceptflag), BP_SYM (fesetexceptflag), GLIBC_2.2); |