This is the mail archive of the
binutils@sources.redhat.com
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: dave at hiauly1 dot hia dot nrc dot ca (John David Anglin)
- Cc: amodra at bigpond dot net dot au, binutils at sources dot redhat dot com
- Date: Tue, 16 Jul 2002 20:34:40 -0400 (EDT)
- Subject: Re: SIGSEGV in ld at elflink.h:5500
> > 2002-07-10 Alan Modra <amodra@bigpond.net.au>
> >
> > * merge.c (_bfd_merge_section): Remove redundant output_section check.
> > Formatting.
> > (_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
Looking at the history of the above, I see that the bug being fixed
had sym_sec->output_section set to bfd_abs_section. The code in this
case was also being compiled with "-ffunction-sections" and we seem to
have the same problem, but on hppa64.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)