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]

Re: How should the GNU linker treat weak references?


On Thu, Jul 05, 2001 at 05:22:51PM +0930, Alan Modra wrote:
> I've spent the last 10 minutes thinking over this, and can see one
> implication of allowing a strong sym in a dynamic lib to take
> precedence over a weak sym in an executable;  The dynamic linker would
> need to fall back to using the weak definition in the executable if the
> library changes and no longer exports the sym.

If one removes an interface in a shared lib, and does not change the
"version number", they get what they deserve.  This I don't see where
this case needs to be worried about.
 
-- 
-- David  (obrien@FreeBSD.org)


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