From 43f3c8ed209669b7fa967f18df8cdad90ac7c7b4 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sun, 10 May 1998 23:46:01 +0000 Subject: [PATCH] There is no alpha asm code like on i386, so all the functions that the i386 builds with a __generic prefix need to have that stripped. --- lib/msun/src/math_private.h | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/lib/msun/src/math_private.h b/lib/msun/src/math_private.h index 1d93957585d3..f9add4159db3 100644 --- a/lib/msun/src/math_private.h +++ b/lib/msun/src/math_private.h @@ -11,7 +11,7 @@ /* * from: @(#)fdlibm.h 5.1 93/09/24 - * $Id$ + * $Id: math_private.h,v 1.4 1997/02/22 15:10:55 peter Exp $ */ #ifndef _MATH_PRIVATE_H_ @@ -220,4 +220,31 @@ extern float __kernel_cosf __P((float,float)); extern float __kernel_tanf __P((float,float,int)); extern int __kernel_rem_pio2f __P((float*,float*,int,int,int,const int*)); +#ifdef __alpha__ +#define __generic___ieee754_acos __ieee754_acos +#define __generic___ieee754_asin __ieee754_asin +#define __generic___ieee754_atan2 __ieee754_atan2 +#define __generic___ieee754_exp __ieee754_exp +#define __generic___ieee754_fmod __ieee754_fmod +#define __generic___ieee754_log __ieee754_log +#define __generic___ieee754_log10 __ieee754_log10 +#define __generic___ieee754_remainder __ieee754_remainder +#define __generic___ieee754_scalb __ieee754_scalb +#define __generic___ieee754_sqrt __ieee754_sqrt +#define __generic_atan atan +#define __generic_ceil ceil +#define __generic_copysign copysign +#define __generic_cos cos +#define __generic_finite finite +#define __generic_floor floor +#define __generic_ilogb ilogb +#define __generic_log1p log1p +#define __generic_logb logb +#define __generic_rint rint +#define __generic_scalbn scalbn +#define __generic_significand significand +#define __generic_sin sin +#define __generic_tan tan +#endif + #endif /* _MATH_PRIVATE_H_ */