This is the mail archive of the binutils@sourceware.org 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: PR11375, powerpc64 segfault in call_gmon_start


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


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