(elf_link_add_object_symbols): Set the error code to bfd_error_wrong_format when