This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: weak references and --as-needed


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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]