This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: bug: GOLD handling of Sparc PLTREL
From: Ian Lance Taylor <iant@google.com>
Date: Tue, 09 Feb 2010 07:04:13 -0800
> Another approach would be to in fact put the PLT into the .rela.dyn
> output section. That could be done by just changing the call to
> layout->add_output_section_data to use .rela.dyn in both SHT_RELA
> calls in sparc.cc.
So I tried this, and it doesn't work, even if I force the .rela.dyn to
get created before the PLT relocation section.
The dynamic linker doesn't process the PLT relocations properly.