weak references and --as-needed
Mike Frysinger
vapier@gentoo.org
Wed Apr 21 19:44:00 GMT 2010
On Wednesday 21 April 2010 13:03:57 Pierre Ossman wrote:
> On Wed, 21 Apr 2010 12:41:20 -0400 Mike Frysinger wrote:
> > On Tuesday 20 April 2010 08:02:44 Pierre Ossman wrote:
> > > End result is that you have programs depending on libgcc_s even though
> > > they do not use exception handling, complicating the deployment to
> > > non-glibc systems.
> >
> > note that libgcc_s isnt there only for exception handling. it provides a
> > lot of math functions as well.
>
> Isn't that all in libgcc? That's what documentation and comments seem
> to suggest.
the vast majority are in both. look with `readelf -s`. this is the reason
for libgcc_s.so linkage in the vast majority of apps in embedded systems
(arm/blackfin/mips/superh/etc...).
i'm not saying this is related to your issue at hand, just a point of info
that libgcc_s !== exception handling.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20100421/591e75dc/attachment.sig>
More information about the Binutils
mailing list