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: amodra at bigpond dot net dot au (Alan Modra)
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 17 Jul 2002 01:46:08 -0400 (EDT)
- Subject: Re: SIGSEGV in ld at elflink.h:5500
> On Wed, Jul 17, 2002 at 12:39:24AM -0400, John David Anglin wrote:
> > but I am puzzled why the R_PARISC_DIR32 don't cause a similar problem.
>
> Because elf32_hppa_check_relocs has this code
>
> if (need_entry & NEED_DYNREL)
> {
> .
> .
> if (...
> && (sec->flags & SEC_ALLOC) != 0
>
> and similarly elsewhere. elf32-hppa doesn't emit dynamic relocs for
> debugging sections.
Hmmm, there seems to be a similar check in elf64-hppa.c
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)