This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PR11375, powerpc64 segfault in call_gmon_start
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 18 Mar 2010 13:08:48 +1030
- Subject: Re: PR11375, powerpc64 segfault in call_gmon_start
- References: <20100312222951.GA1609@bubble.grove.modra.org>
On Sat, Mar 13, 2010 at 08:59:51AM +1030, Alan Modra wrote:
> My 2009-09-18 change to ppc64_elf_relocate_section broke linking of
> large old-style dot-symbol binaries. If they happened to need toc
> adjusting stubs to support multiple toc sections, the lookup in
> relocate_section failed to match the stub created. (The lookup used
> the function descriptor symbol but the stub was created with the
> entry dot-symbol.) This meant you'd get a call that used the wrong
> toc pointer, usually causing a crash at startup in call_gmon_start.
Sigh. powerpc64-linux-ld is still not generating all the toc
adjusting stubs for multiple toc binaries, even with new-style
objects. Investigating.
--
Alan Modra
Australia Development Lab, IBM