mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-26 07:51:06 +00:00
ac4a37c8c4
This partially reverts commit 429b3e8846
.
Bring back the patches for glibc 2.12 and newer. Propagate/refresh
some patches as needed.
Signed-off-by: Alexey Neyman <stilor@att.net>
27 lines
1.1 KiB
Diff
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)
|
|
|