[patch] PR40134, use a linker script on arm-linux to link with -lgcc_s -lgcc
Jakub Jelinek
jakub@redhat.com
Tue Jul 7 12:16:00 GMT 2009
On Tue, Jul 07, 2009 at 01:01:03PM +0100, Dave Korn wrote:
> > The major exception here are the dfp bits, here I'd think we should remove
> > them from libgcc.a and put into libgcc_dfp.a or something similar
> > (and have libgcc_dfp.so too).
>
> Argh. We don't have DFP on cygwin yet but probably want to add support
> soon. What's the issue with this? Shouldn't those kind of simple maths
> routines be in the shared libgcc and linked from there anyway?
Certainly not, it is huge and rarely used.
E.g. on i?86-linux, linking all of libgcc.a objects except bid*.o into a
shared library is ~ 80KB .text, .5 KB .rodata, with the dfp stuff also in
it is ~ 900KB of .text, ~ 1.9 MB .rodata. As libgcc_s is linked into a huge
number of apps, this would be certainly not acceptable.
Jakub
More information about the Java-patches
mailing list