+2020-07-13 Nick Clifton <nickc@redhat.com>
+
+ * ldelf.c (ldelf_after_open): Change fatal errors about linking in
+ executable files to simple warnings.
+
2020-07-10 Alan Modra <amodra@gmail.com>
* ld.texi (PowerPC64 ELF64): Document --no-inline-optimize,
&& elf_tdata (abfd)->elf_header != NULL
/* FIXME: Maybe check for other non-supportable types as well ? */
&& elf_tdata (abfd)->elf_header->e_type == ET_EXEC)
- einfo (_("%F%P: cannot use executable file '%pB' as input to a link\n"),
+ einfo (_("%P: Using an executable file (%pB) as input to a link is deprecated - support is likely to be removed in the future\n"),
abfd);
}
if (bfd_link_executable (& link_info)
&& elf_tdata (abfd)->elf_header->e_type == ET_EXEC)
{
- einfo (_("%F%P: cannot use executable file '%pB' as input to a link\n"),
+ einfo (_("%P: Using an executable file (%pB) as input to a link is deprecated - support is likely to be removed in the future\n"),
abfd);
}