[PATCH 2/3] libm: Remove __ieee754_gamma_r variants

Corinna Vinschen vinschen@redhat.com
Thu Aug 27 07:24:11 GMT 2020


On Aug 26 12:10, Keith Packard via Newlib wrote:
> Corinna Vinschen via Newlib <newlib@sourceware.org> writes:
> 
> > You can't do that.  gamma_r/gammaf_r/lgamma_r/lgammaf_r are BSD
> > functions.  They have been exported by Cygwin since 2001.  The entry
> > points need to be kept available with unchanged semantics.
> 
> They changed on accident in 2002 -- gamma_r *used* to be an alias for
> lgamma_r and was changed to be a (broken) alias for tgamma.

Nevertheless, the symbols have to be exported for backward compatibility.
So you're saying aliasing gamma_r to lgamma_r and gammaf_r to lgammaf_r
in the DLLs export table would be sufficient?


Thanks,
Corinna



More information about the Newlib mailing list