crosstool-ng/patches/glibc/ports-2.13/470-alpha-feupdateenv.patch
Yann E. MORIN" 6cf1dab940 libc/glibc: add 2.13
Patchset provided by "Ioannis E. Venetis" <venetis@mail.capsl.udel.edu>
  http://sourceware.org/ml/crossgcc/2011-04/msg00072.html
  http://sourceware.org/ml/crossgcc/2011-04/msg00073.html

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-03 00:19:56 +02:00

27 lines
1.1 KiB
Diff

2011-03-01 Aurelien Jarno <aurelien@aurel32.net>
* sysdeps/alpha/fpu/feupdateenv.c (feupdateenv): Add
libm_hidden_def.
* sysdeps/alpha/fpu/ftestexcept.c (fetestexcept): Likewise.
diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
index c798070..9abbf11 100644
--- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
+++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/feupdateenv.c
@@ -46,4 +46,5 @@ strong_alias (__feupdateenv, __old_feupdateenv)
compat_symbol (libm, __old_feupdateenv, feupdateenv, GLIBC_2_1);
#endif
+libm_hidden_ver (__feupdateenv, feupdateenv)
versioned_symbol (libm, __feupdateenv, feupdateenv, GLIBC_2_2);
diff --git glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
index a4b3081..34d8113 100644
--- glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
+++ glibc-2.13/glibc-ports-2.13/sysdeps/alpha/fpu/ftestexcept.c
@@ -30,3 +30,4 @@ fetestexcept (int excepts)
return tmp & excepts & SWCR_STATUS_MASK;
}
+libm_hidden_def (fetestexcept)