Sort relocs output by ld -r

Alan Modra amodra@gmail.com
Sat Mar 14 04:05:00 GMT 2015


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



More information about the Binutils mailing list