This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[patch] fix libm in mips
- From: Mike Frysinger <vapier at gentoo dot org>
- To: libc-ports at sourceware dot org
- Date: Mon, 8 May 2006 23:12:05 -0400
- Subject: [patch] fix libm in mips
- Organization: wh0rd.org
passing along a patch from Gentoo here ... libm in glibc-2.4 has been updated
to create hidden aliases of feholdexcept() and fesetround() but mips lacks
libm_hidden_def() macros in the respective mips-specific files so the final
libm.so is generated without these two functions being exported
-mike
2006-05-06 Joshua Kinard <kumba@gentoo.org>
* sysdeps/mips/fpu/feholdexcpt.c: Add libm_hidden_def.
* sysdeps/mips/fpu/fesetround.c: Likewise.
--- ports/sysdeps/mips/fpu/feholdexcpt.c
+++ ports/sysdeps/mips/fpu/feholdexcpt.c
@@ -36,3 +36,4 @@ feholdexcept (fenv_t *envp)
return 0;
}
+libm_hidden_def (feholdexcept)
--- ports/sysdeps/mips/fpu/fesetround.c
+++ ports/sysdeps/mips/fpu/fesetround.c
@@ -41,3 +41,4 @@ fesetround (int round)
return 0;
}
+libm_hidden_def (fesetround)