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:
David Schultz 2005-03-07 21:27:37 +00:00
parent 3ddc6e9440
commit 3d266bde6d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143264
4 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -54,5 +54,5 @@ frexp(double x, int *eptr)
}
#if (LDBL_MANT_DIG == 53)
__strong_reference(frexp, frexpl);
__weak_reference(frexp, frexpl);
#endif

View File

@ -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

View File

@ -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