This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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  <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
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.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]