Fix thinko in the code to check coff archive elements.
authorNick Clifton <nickc@redhat.com>
Wed, 9 Sep 2020 14:00:55 +0000 (15:00 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 9 Sep 2020 14:00:55 +0000 (15:00 +0100)
commit10556cdc8e4340b0dcc2594aec044ba7b6da4aff
treecb6b6daae9f36ad39c0904ff954279cf1b6347de
parent15a32af52fdc010801396cbcf62f33d88435ac1a
Fix thinko in the code to check coff archive elements.

* cofflink.c (coff_link_check_archive_element): Move the check for
coff type input to the start of the function.
bfd/ChangeLog
bfd/cofflink.c