This is the mail archive of the
mailing list for the binutils project.
Re: SIGSEGV in ld at elflink.h:5500
On Thu, Jul 18, 2002 at 02:06:50AM -0400, John David Anglin wrote:
> > > So, what do we do? We have have a reference in the data section
> > > to a local label in a function that has been deleted. On hppa-linux,
> > > the above data is in .eh_frame. Is it somehow special?
> > OK, so it's likely a gcc bug. You want the eh data in .eh_frame, as
> > .eh_frame is special. See bfd/elflink.h:elf_bfd_discard_info.
> I put the eh data into .eh_frame. However, I still get a seg fault
> at the same spot although the symbol and section have changed. It
> looks as if the code figured out that the reloc symbol was deleted
> but still the fault.
Take a look at what's happening at elf64-hppa.c:1514 under gdb.
I suspect you have forced-local syms being added as local dynamic
IBM OzLabs - Linux Technology Centre