Linking non-ELF file broken by PR20908 fix
authorAlan Modra <amodra@gmail.com>
Thu, 15 Dec 2016 10:59:44 +0000 (21:29 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 15 Dec 2016 13:23:49 +0000 (23:53 +1030)
commita961cdd5f139d3c3e09170db52bd8df7dafae13f
treeaa1a18c481aac0b999e9109d7af8736b3ad0e7ec
parent02aa377fbdd17b763b1e32ad72ccfd1c617ce463
Linking non-ELF file broken by PR20908 fix

PR ld/20968
PR ld/20908
* elflink.c (bfd_elf_final_link): Revert 2016-12-02 change.  Move
reloc counting code later after ELF flavour test.
bfd/ChangeLog
bfd/elflink.c