Sort relocs output by ld -r
Alan Modra
amodra@gmail.com
Wed Mar 18 13:20:00 GMT 2015
On Sat, Mar 14, 2015 at 02:35:00PM +1030, Alan Modra wrote:
> On Fri, Mar 13, 2015 at 08:51:25PM +0100, Andreas Krebbel wrote:
> > 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.
This should also go on the 2.25 branch, since I backported the reloc
sorting patch. I'm applying the following cherry-picks from master.
e3ee8ed4 Fix gold error: hidden symbol '...' is not defined locally
ec86f434 PowerPC64 GOLD: complain on misaligned _DS relocs
a127494f Use dynamic text relocs for protected vars
bd4d2eaa PowerPC64 thread-safe stubs not needed for iplt
f01f1741 Tweak ppc32 tls_get_addr optimisation
1079403c Fix ppc32 synthetic symbols when __tls_get_addr_opt stub is generated
b9005ba7 S/390: Disable relocation sort against code sections
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list