ld -z combreloc reloc sorting
authorAlan Modra <amodra@gmail.com>
Thu, 12 May 2016 14:29:26 +0000 (23:59 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 12 May 2016 14:47:19 +0000 (00:17 +0930)
commit1997c9943a1979a7407f3c70ead92493a799e13e
tree3fc21aa19c361af9bcad48f47ccb7aa8771363f9
parent001c250f57f5ef42189de5391db9eac9225b5971
ld -z combreloc reloc sorting

PLT relocs don't appear in .rela.dyn, at least not when using
normal linker scripts.  However, if they do, then they ought to be
placed last rather than in the middle of other relocs.

* elf-bfd.h (elf_reloc_type_class): Put reloc_class_plt last.
bfd/ChangeLog
bfd/elf-bfd.h