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: Sort relocs output by ld -r


On Fri, Mar 13, 2015 at 08:51:25PM +0100, Andreas Krebbel wrote:
> Due to the reloc sorting the order changed an the PLT32DBL reloc is
> executed after the rewrite and overwrites part of the load instruction
> with garbage.

Oops, sorry!

> The attached patch mimics what you did for Mips and disables the
> sorting for relocations against code section.  Does that look like a
> reasonable fix for this case as well?

Looks fine to me.

-- 
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]