This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] GCC tree linkage types
- From: Chris Lattner <sabre at nondot dot org>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Ian Lance Taylor <ian at wasabisystems dot com>, <gcc at gcc dot gnu dot org>
- Date: Fri, 7 Nov 2003 10:19:18 -0600 (CST)
- Subject: 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/