This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Linker is broken
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Cc: amodra at bigpond dot net dot au
- Date: Tue, 25 May 2004 23:51:09 -0700
- Subject: Re: Linker is broken
- References: <20040526063332.GA22217@lucon.org>
On Tue, May 25, 2004 at 11:33:32PM -0700, H. J. Lu wrote:
> The linker is broken. Take group0.s from gas/testsuite/gas/elf. On
> Linux/x86:
>
> [hjl@gnu-psc gas]$ ./as-new -o foo.o group0.s
> [hjl@gnu-psc gas]$ ../ld/ld-new -r foo.o
> ../ld/ld-new: BFD 2.15.91 20040526 internal error, aborting at
> /net/gnu/export/gnu/src/binutils/binutils/bfd/elf.c line 2671 in
> bfd_elf_set_group_contents
>
> ../ld/ld-new: Please report this bug.
>
Alan, group section has SEC_EXCLUDE, but we can't ignore it for ld -r.
H.J.