Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102864947
D35204.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D35204.diff
View Options
diff --git a/lib/msun/powerpc/Symbol.map b/lib/msun/powerpc/Symbol.map
--- a/lib/msun/powerpc/Symbol.map
+++ b/lib/msun/powerpc/Symbol.map
@@ -11,3 +11,8 @@
feholdexcept;
feupdateenv;
};
+
+FBSD_1.7 {
+ feenableexcept;
+ fedisableexcept;
+};
diff --git a/lib/msun/powerpc/fenv.h b/lib/msun/powerpc/fenv.h
--- a/lib/msun/powerpc/fenv.h
+++ b/lib/msun/powerpc/fenv.h
@@ -264,9 +264,7 @@
#if __BSD_VISIBLE
-/* We currently provide no external definitions of the functions below. */
-
-static inline int
+__fenv_static inline int
feenableexcept(int __mask)
{
union __fpscr __r;
@@ -279,7 +277,7 @@
return ((__oldmask & _ENABLE_MASK) << _FPUSW_SHIFT);
}
-static inline int
+__fenv_static inline int
fedisableexcept(int __mask)
{
union __fpscr __r;
@@ -292,6 +290,7 @@
return ((__oldmask & _ENABLE_MASK) << _FPUSW_SHIFT);
}
+/* We currently provide no external definition of fegetexcept(). */
static inline int
fegetexcept(void)
{
diff --git a/lib/msun/powerpc/fenv.c b/lib/msun/powerpc/fenv.c
--- a/lib/msun/powerpc/fenv.c
+++ b/lib/msun/powerpc/fenv.c
@@ -58,6 +58,8 @@
extern inline int feholdexcept(fenv_t *__envp);
extern inline int fesetenv(const fenv_t *__envp);
extern inline int feupdateenv(const fenv_t *__envp);
+extern inline int feenableexcept(int __mask);
+extern inline int fedisableexcept(int __mask);
#ifdef __SPE__
#define PMAX 0x7f7fffff
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 4:17 AM (21 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14710153
Default Alt Text
D35204.diff (1 KB)
Attached To
Mode
D35204: libm: Add feenableexcept and fedisableexcept to library on powerpc
Attached
Detach File
Event Timeline
Log In to Comment