From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: "Leonard N. Zubkoff" Cc: binutils@sourceware.cygnus.com, gcc@gcc.gnu.org, GNU C Library , Kenneth Albanowski , Mat Hostetter , Andy Dougherty , Warner Losh , linux-mips@oss.sgi.com, Ron Guilmette , "Polstra; John" , "Hazelwood; Galen" , Ralf Baechle , Linas Vepstas , Feher Janos , "Steven J. Hill" , linux-gcc@vger.kernel.org, amodra@bigpond.net.au Subject: Re: binutils 2.11.92.0.6 (Re: binutils 2.11.92.0.5 is broken) Date: Sat, 13 Oct 2001 23:59:00 -0000 Message-id: <20011013235924.C15807@lucon.org> References: <200110131452.f9DEq7Q0032358@dandelion.com> <20011013190034.A27019@lucon.org> <20011013235621.A15807@lucon.org> X-SW-Source: 2001-10/msg00799.html On Sat, Oct 13, 2001 at 11:56:21PM -0700, H . J . Lu wrote: > On Sat, Oct 13, 2001 at 07:00:34PM -0700, H . J . Lu wrote: > > On Sat, Oct 13, 2001 at 07:52:07AM -0700, Leonard Zubkoff wrote: > > > HJ, > > > > > > In recompiling my whole system with your latest binutils-2.11.92.0.5, I > > > received the following error while linking telnetd from the netkit-telnet-0.17 > > > package: > > > > > > gcc telnetd.o state.o termstat.o slc.o sys_term.o utility.o global.o setproctitle.o -lutil -lutil -o telnetd > > > /usr/bin/ld: BFD internal error, aborting at elf32-i386.c line 646 in elf_i386_copy_indirect_symbol > > > > > > /usr/bin/ld: Please report this bug. > > > > > > collect2: ld returned 1 exit status > > > > > > Thought you'd want to know... > > > > > > > Hi Alan, > > > > This patch > > > > http://sources.redhat.com/ml/binutils/2001-10/msg00035.html > > > > is incomplete. You cannot do any backend processing when > > > > if (dir == ind->weakdef) > > > > I will double check all backend xxx_hash_copy_indirect. > > > > I am planning to make binutils 2.11.92.0.6 within a week. > > > > Sorry for that. > > > > > > Here is a proposed patch for binutils 2.11.92.0.6. I will run more > tests before releasing it. Please test it as much as you can. > > Thanks. > > > H.J. > --- Ooops. Here is the complete changelog against 2.11.92.0.5. H.J. ---- 2001-10-13 H.J. Lu * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Don't abort if this is a weakdef. * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Set plt.offset to -1 and clear the ELF_LINK_HASH_NEEDS_PLT bit if the symbol is not a function. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. 2001-10-11 H.J. Lu * elf32-mips.c (mips_elf_calculate_relocation): Don't create dynamic relocation for symbols defined in regular objects when creating executables. 2001-10-11 H.J. Lu * elflink.h (elf_merge_symbol): Revert the change made on 2001-10-03.