Fix seg-fault in linker when passed a corrupt binary input file.
authorNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 17:46:26 +0000 (17:46 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 2 Dec 2016 17:47:07 +0000 (17:47 +0000)
commitd7f399a8de4c55eb841db6493597a587fac002de
treed0ffd98c9c5daa211641537363706d18ba6391c9
parent008459ea88ad4fdcb7da37dad7f68888ef6ecc47
Fix seg-fault in linker when passed a corrupt binary input file.

PR lf/20908
* elflink.c (bfd_elf_final_link): Check for ELF flavour binaries
when following indirect links.
bfd/ChangeLog
bfd/elflink.c