This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] fix libm in mips


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]