This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils 2.11.92.0.6 (Re: binutils 2.11.92.0.5 is broken)
- To: "Leonard N. Zubkoff" <lnz at dandelion dot com>
- Subject: Re: binutils 2.11.92.0.6 (Re: binutils 2.11.92.0.5 is broken)
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Sat, 13 Oct 2001 23:59:24 -0700
- Cc: binutils at sourceware dot cygnus dot com, gcc at gcc dot gnu dot org,GNU C Library <libc-alpha at sourceware dot cygnus dot com>,Kenneth Albanowski <kjahds at kjahds dot com>,Mat Hostetter <mat at lcs dot mit dot edu>,Andy Dougherty <doughera at lafcol dot lafayette dot edu>,Warner Losh <imp at village dot org>, linux-mips at oss dot sgi dot com,Ron Guilmette <rfg at monkeys dot com>,"Polstra; John" <linux-binutils-in at polstra dot com>,"Hazelwood; Galen" <galenh at micron dot net>,Ralf Baechle <ralf at mailhost dot uni-koblenz dot de>,Linas Vepstas <linas at linas dot org>,Feher Janos <aries at hal2000 dot terra dot vein dot hu>,"Steven J. Hill" <sjhill at cotw dot com>, linux-gcc at vger dot kernel dot org,amodra at bigpond dot net dot au
- References: <200110131452.f9DEq7Q0032358@dandelion.com> <20011013190034.A27019@lucon.org> <20011013235621.A15807@lucon.org>
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 <hjl@gnu.org>
* 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 <hjl@gnu.org>
* 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 <hjl@gnu.org>
* elflink.h (elf_merge_symbol): Revert the change made on
2001-10-03.