This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
MIPS fesetround, feholdexcept fix
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Fri, 26 May 2006 19:02:56 +0000 (UTC)
- Subject: MIPS fesetround, feholdexcept fix
The MIPS versions of fesetround and feholdexcept are missing
libm_hidden_def that they need. (Some other ports' versions of these
functions are similarly lacking libm_hidden_def.) The fesetround problem
shows up as some tests failing to link; it seems there are no glibc
testcases that use feholdexcept.
2006-05-25 Joseph Myers <joseph_codesourcery.com>
* sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
* sysdeps/mips/fpu/fesetround.c: Likewise.
Index: sysdeps/mips/fpu/feholdexcpt.c
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/mips/fpu/feholdexcpt.c,v
retrieving revision 1.2
diff -u -r1.2 feholdexcpt.c
--- sysdeps/mips/fpu/feholdexcpt.c 6 Jul 2001 04:56:01 -0000 1.2
+++ sysdeps/mips/fpu/feholdexcpt.c 25 May 2006 22:03:48 -0000
@@ -36,3 +36,5 @@
return 0;
}
+
+libm_hidden_def (feholdexcept)
Index: sysdeps/mips/fpu/fesetround.c
===================================================================
RCS file: /cvs/glibc/ports/sysdeps/mips/fpu/fesetround.c,v
retrieving revision 1.3
diff -u -r1.3 fesetround.c
--- sysdeps/mips/fpu/fesetround.c 6 Jul 2001 04:56:01 -0000 1.3
+++ sysdeps/mips/fpu/fesetround.c 25 May 2006 22:03:48 -0000
@@ -41,3 +41,5 @@
return 0;
}
+
+libm_hidden_def (fesetround)
--
Joseph S. Myers
joseph@codesourcery.com