diff options
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r-- | sysdeps/m68k/m680x0/fpu/w_fmod_compat.c | 14 | ||||
-rw-r--r-- | sysdeps/m68k/m680x0/fpu/w_fmodf_compat.c | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/sysdeps/m68k/m680x0/fpu/w_fmod_compat.c b/sysdeps/m68k/m680x0/fpu/w_fmod_compat.c new file mode 100644 index 0000000000..527d4fbed2 --- /dev/null +++ b/sysdeps/m68k/m680x0/fpu/w_fmod_compat.c @@ -0,0 +1,14 @@ +/* m68k provides an optimized __ieee752_fmod. */ +#include <math-svid-compat.h> +#ifdef SHARED +# undef SHLIB_COMPAT +# define SHLIB_COMPAT(a, b, c) 1 +# undef LIBM_SVID_COMPAT +# define LIBM_SVID_COMPAT 1 +# undef compat_symbol +# define compat_symbol(a, b, c, d) +#endif +#include <math/w_fmod_compat.c> +#ifdef SHARED +libm_alias_double (__fmod_compat, fmod) +#endif diff --git a/sysdeps/m68k/m680x0/fpu/w_fmodf_compat.c b/sysdeps/m68k/m680x0/fpu/w_fmodf_compat.c new file mode 100644 index 0000000000..5043586b91 --- /dev/null +++ b/sysdeps/m68k/m680x0/fpu/w_fmodf_compat.c @@ -0,0 +1,14 @@ +/* m68k provides an optimized __ieee752_fmodf. */ +#include <math-svid-compat.h> +#ifdef SHARED +# undef SHLIB_COMPAT +# define SHLIB_COMPAT(a, b, c) 1 +# undef LIBM_SVID_COMPAT +# define LIBM_SVID_COMPAT 1 +# undef compat_symbol +# define compat_symbol(a, b, c, d) +#endif +#include <math/w_fmodf_compat.c> +#ifdef SHARED +libm_alias_float (__fmod_compat, fmod) +#endif |