This is the mail archive of the binutils@sourceware.cygnus.com 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]

Re: A weak symbol patch


   Date: Wed, 7 Jul 1999 13:53:23 -0700 (PDT)
   From: hjl@varesearch.com (H.J. Lu)

   You missed a piece in mine. If you don't set ELF_LINK_HASH_REF_REGULAR
   when clearing ELF_LINK_HASH_DEF_REGULAR, no relocation will be
   generated at all and you will get a linker error:

Thanks for the note.  I tweaked the patch in a couple of ways.  I was
also running into trouble when dealing with weak versioned symbols;
the existing code let it wind up setting up an indirection from a
symbol to itself.

Ian

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