This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [PATCH] libm additions and corrections, 1 of 2
> Hi,
> I'm willing to rebase my patch if yours gets applied first.
> Are there any
> objections in general regarding mapping the long double
> functions to their
> counterparts on platforms where a double equals the long double
> (http://sourceware.org/ml/newlib/2009/msg00244.html)?
One thing that is required for ANSI conformance is that library versions
are available as well. I don't remember if your patch had this feature.
I think the best way of adding these is to alias the symbols; this is
done in GCC using the alias function attribute (see (gcc.info)Function
Attributes). However, the documentation states that this is not
supported for all targets (modern binary formats do, so this is probably
of little concern).
Regards,
Konrad Schwarz