This is the mail archive of the binutils@sources.redhat.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: binutils 2.11.92.0.6 (Re: binutils 2.11.92.0.5 is broken)


On Mon, Oct 15, 2001 at 12:50:06AM -0700, H . J . Lu wrote:
> define elf_backend_copy_indirect_symbol. I don't think you can do
> 
> if (dir == ind->weakdef)
>   return;
> 
> at all. I suspect the ia64 linker bug may have something to do with it. 

Before I added the call to copy_indirect_symbol in elf_fix_symbol_flags,
it was called from two other places in elflink.h, both of which have
ind->root.type == bfd_link_hash_indirect.  The new call has an assert a
few lines before that guarantees ind->root.type is bfd_link_hash_defined
or bfd_link_hash_defweak, so it may be better to test

if (ind->root.type != bfd_link_hash_indirect)
  return;

I'm making up a patch now..


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