PR 24523
* elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
rather than FALSE if encountering a non-ELF file.
+2019-05-08 Nick Clifton <nickc@redhat.com>
+
+ PR 24523
+ * elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Return TRUE
+ rather than FALSE if encountering a non-ELF file.
+
2019-05-06 Alan Modra <amodra@gmail.com>
* elf32-pj.c (pj_elf_reloc): Don't report undefined weak as an error.
flagword in_isa;
const bfd_arch_info_type *arch_info;
- if ( bfd_get_flavour (ibfd) != bfd_target_elf_flavour
+ if (bfd_get_flavour (ibfd) != bfd_target_elf_flavour
|| bfd_get_flavour (obfd) != bfd_target_elf_flavour)
- return FALSE;
+ /* PR 24523: For non-ELF files do not try to merge any private
+ data, but also do not prevent the link from succeeding. */
+ return TRUE;
/* Get the merged machine. This checks for incompatibility between
Coldfire & non-Coldfire flags, incompability between different