This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] preliminary patch to move decimal float runtime to new libs
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: janis187 at us dot ibm dot com
- Cc: gcc-patches at gcc dot gnu dot org, andreas dot krebbel at de dot ibm dot com, bje at au1 dot ibm dot com
- Date: Thu, 14 Aug 2008 21:11:32 -0700
- Subject: Re: [RFC] preliminary patch to move decimal float runtime to new libs
- References: <1218771843.6001.13.camel@janis-laptop>
On Thu, Aug 14, 2008 at 8:44 PM, Janis Johnson <janis187@us.ibm.com> wrote:
> I've made progress on moving decimal float runtime support from libgcc.a
> to libgcc_dfp.a and building a new shared library, libgcc_dfp.so.1.
> The patch works sometimes but still has problems and so is not yet ready
> for a full review, but I'd appreciate comments on the general approach.
> I'll be out of touch until Tuesday.
>
> The new libraries are installed in the same locations as libgcc.a
> (inst_libdir) and libgcc_s.a (inst_slibdir). They are only built for
> targets that support decimal float and when that support is enabled.
> It doesn't quite work yet, but the the specs will add -lgcc_dfp to
> the link line, with --as-needed, when decimal float support is enabled.
>
> 2008-08-14 Janis Johnson <janis187@us.ibm.com>
>
We are adding one shared library for DFP and we may want to add some
other gcc functions into another shared library in the future. Why not
give the new shared library a more generic name as a place for
future potential functions?
H.J.