about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-08-05 13:36:36 -0700
committerRichard Henderson <rth@twiddle.net>2014-08-05 13:36:36 -0700
commit27bb6dc0db1d0da548a0be3ec1aa33e2c25565cd (patch)
tree827283a9175ea2dcf94027ebca637fd5ec83bda7 /sysdeps/unix/sysv
parentd3f364d3c79cc6cbeb0bf6f8cec90c9e4465db0f (diff)
downloadglibc-27bb6dc0db1d0da548a0be3ec1aa33e2c25565cd.tar.gz
glibc-27bb6dc0db1d0da548a0be3ec1aa33e2c25565cd.tar.xz
glibc-27bb6dc0db1d0da548a0be3ec1aa33e2c25565cd.zip
alpha: Fix exception raising from soft-fp
Use the SSI_IEEE_RAISE_EXCEPTION function as from feraiseexcept,
instead of __ieee_get+set_fp_status.  Always raise the FP exceptions
from float-to-integer conversion.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S9
1 files changed, 5 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S b/sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S
index 3db92d598b..c5fa62bc99 100644
--- a/sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S
+++ b/sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S
@@ -46,11 +46,12 @@ ENTRY(__feraiseexcept)
 END(__feraiseexcept)
 	cfi_endproc
 
-#include <shlib-compat.h>
-#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
+#ifdef IS_IN_libm
+# include <shlib-compat.h>
+# if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__feraiseexcept, __old_feraiseexcept)
 compat_symbol (libm, __old_feraiseexcept, feraiseexcept, GLIBC_2_1);
-#endif
-
+# endif
 libm_hidden_ver (__feraiseexcept, feraiseexcept)
 versioned_symbol (libm, __feraiseexcept, feraiseexcept, GLIBC_2_2);
+#endif