This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: [C++] GCC tree linkage types


> Weak symbols are not overridden by later strong symbols during dynamic
> linking, only during static linking.  On GNU/Linux, until some point (a
> year-ish ago?  Less?) this would have worked; it causes the dynamic
> linker to be quite inefficient however, since a weak def would cause it
> to keep searching.

Whoa, you just added a whole new dimension of complexity to this for me.
I had no idea that the linkage types changed semantics depending on what
type of linkage was performed.

Thanks for the info: after a long struggle, I now understand the
difference between the two types of weak symbol!  :)

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/


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