This is the mail archive of the
mailing list for the binutils project.
Re: SIGSEGV in ld at elflink.h:5500
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: amodra at bigpond dot net dot au (Alan Modra)
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 16 Jul 2002 20:24:41 -0400 (EDT)
- Subject: Re: SIGSEGV in ld at elflink.h:5500
> On Tue, Jul 16, 2002 at 03:16:44PM -0400, John David Anglin wrote:
> > This is the code that faults:
> > sym.st_shndx =
> > elf_section_data (s->output_section)->this_idx;
> Are you using recent enough sources to have this patch?
> 2002-07-10 Alan Modra <firstname.lastname@example.org>
> * merge.c (_bfd_merge_section): Remove redundant output_section check.
> (_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections.
bash-2.05a$ ./ld --version
GNU ld version 2.12.90 20020716
As shown in the original gdb output, the output section is *ABS* which
doesn't seem resonable for the symbol which is a weak function. I
thought this was related to changes to gcc to try to generate dwarf2
eh info on hppa64-hp-hpux* but maybe this is caused by the above or
some other recent binutils change. I'll see.
J. David Anglin email@example.com
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)