on 18/04/2012 13:49 Konstantin Belousov said the following:
> This is from the ELF standard version 1.2 PDF, page 1-5:
> 
> When the link editor searches archive libraries, it extracts archive 
> members that contain definitions of undefined global symbols. The member's
> definition may be either a global or a weak symbol. The link editor does
> not extract archive members to resolve undefined weak symbols. Unresolved
> weak symbols have a zero value.

I'll just add to this, in case it's not already very obvious, that the link
editor does not extract archive members to find strong definitions for defined
weak symbols too.

Thank you for the quote!

-- 
Andriy Gapon
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to