From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Modra To: "H . J . Lu" Cc: binutils@sourceware.cygnus.com Subject: Re: binutils 2.11.92.0.6 (Re: binutils 2.11.92.0.5 is broken) Date: Mon, 15 Oct 2001 01:54:00 -0000 Message-id: <20011015182441.J1015@bubble.sa.bigpond.net.au> References: <200110131452.f9DEq7Q0032358@dandelion.com> <20011013190034.A27019@lucon.org> <20011013235621.A15807@lucon.org> <20011015093317.B1015@bubble.sa.bigpond.net.au> <20011015164539.I1015@bubble.sa.bigpond.net.au> <20011015005006.B26141@lucon.org> X-SW-Source: 2001-10/msg00263.html 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..