* 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-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.
This commit is contained in:
Greg McGary 2000-07-12 17:39:24 +00:00
parent c62f5cab71
commit e279e90b6a
10 changed files with 39 additions and 18 deletions

View File

@ -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):

View File

@ -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>

View File

@ -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>

View File

@ -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))

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);