bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/11175] ld marks destructor hidden global


From: hjl dot tools at gmail dot com
Subject: [Bug ld/11175] ld marks destructor hidden global
Date: 15 Jan 2010 22:11:20 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2010-01-15 
22:11 -------
(In reply to comment #16)
> (In reply to comment #15)
> > `-fvisibility-inlines-hidden'
> >      This switch declares that the user does not attempt to compare
> >      pointers to inline methods where the addresses of the two functions
> >      were taken in different shared objects.
> > 
> >      The effect of this is that GCC may, effectively, mark inline
> >      methods with `__attribute__ ((visibility ("hidden")))' so that
> >      they do not appear in the export table of a DSO and do not require
> >      a PLT indirection when used within the DSO.  Enabling this option
> >      can have a dramatic effect on load and link times of a DSO as it
> >      massively reduces the size of the dynamic export table when the
> >      library makes heavy use of templates.
> > 
> > Is "LnkProperties::~LnkProperties()" inlined?
> 
> Its in the class in lnkproperties.h but defined in lnkproperties.cpp file
> 
> LnkProperties::~LnkProperties()
> {
> }
> 

Please find out how it became` hidden and weak:

140: 00000001    52 FUNC    WEAK   HIDDEN    37 _ZN13LnkPropertiesD1Ev

in ./libqpe/moc_lnkproperties.o.



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11175

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]