Replace strong references with weak references. There's no
particularly good reason to do this, except that __strong_reference does type checking, whereas __weak_reference does not. On Alpha, the compiler won't accept a 'long double' parameter in place of a 'double' parameter even thought the two types are identical.
This commit is contained in:
parent
3ddc6e9440
commit
3d266bde6d
@ -190,5 +190,5 @@ fma(double x, double y, double z)
|
||||
#endif /* LDBL_MANT_DIG != 113 */
|
||||
|
||||
#if (LDBL_MANT_DIG == 53)
|
||||
__strong_reference(fma, fmal);
|
||||
__weak_reference(fma, fmal);
|
||||
#endif
|
||||
|
@ -54,5 +54,5 @@ frexp(double x, int *eptr)
|
||||
}
|
||||
|
||||
#if (LDBL_MANT_DIG == 53)
|
||||
__strong_reference(frexp, frexpl);
|
||||
__weak_reference(frexp, frexpl);
|
||||
#endif
|
||||
|
@ -79,7 +79,7 @@ nextafter(double x, double y)
|
||||
}
|
||||
|
||||
#if (LDBL_MANT_DIG == 53)
|
||||
__strong_reference(nextafter, nexttoward);
|
||||
__strong_reference(nextafter, nexttowardl);
|
||||
__strong_reference(nextafter, nextafterl);
|
||||
__weak_reference(nextafter, nexttoward);
|
||||
__weak_reference(nextafter, nexttowardl);
|
||||
__weak_reference(nextafter, nextafterl);
|
||||
#endif
|
||||
|
@ -61,6 +61,6 @@ scalbn (double x, int n)
|
||||
}
|
||||
|
||||
#if (LDBL_MANT_DIG == 53)
|
||||
__strong_reference(scalbn, ldexpl);
|
||||
__strong_reference(scalbn, scalbnl);
|
||||
__weak_reference(scalbn, ldexpl);
|
||||
__weak_reference(scalbn, scalbnl);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user