Quick question about _bfd_generic_link_add_one_symbol state machine and weak symbols

Alan Modra amodra@bigpond.net.au
Sun Mar 29 12:14:00 GMT 2009


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



More information about the Binutils mailing list