This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Quick question about _bfd_generic_link_add_one_symbol state machine and weak symbols


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


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