This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Quick question about _bfd_generic_link_add_one_symbol state machine and weak symbols
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: binutils at sourceware dot org
- Date: Sun, 29 Mar 2009 22:44:17 +1030
- Subject: Re: Quick question about _bfd_generic_link_add_one_symbol state machine and weak symbols
- References: <49CF21FA.7060702@gmail.com>
On Sun, Mar 29, 2009 at 08:23:38AM +0100, Dave Korn wrote:
> static const enum link_action link_action[8][8] =
> {
> /* current\prev new undef undefw def defw com indr warn */
> /* UNDEF_ROW */ {UND, NOACT, UND, REF, REF, NOACT, REFC, WARNC },
> ^^^
Don't think in terms of the references. We have a global symbol hash
table. The entry for the given symbol was marked undefined weak. It
is now marked as undefined.
--
Alan Modra
Australia Development Lab, IBM