.note.gnu.property section in IR inputs should be ignored. Don't
merge them.
PR ld/23929
* elf-properties.c (_bfd_elf_link_setup_gnu_properties): Don't
merge .note.gnu.property section in IR inputs.
(cherry picked from commit
ffd9e4d0225d45d1603d09e06151c388589e063f)
+2018-12-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23929
+ * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Don't
+ merge .note.gnu.property section in IR inputs.
+
2018-11-30 Alan Modra <amodra@gmail.com>
PR 23937
/* Merge .note.gnu.property sections. */
for (abfd = info->input_bfds; abfd != NULL; abfd = abfd->link.next)
- if (abfd != first_pbfd && (abfd->flags & DYNAMIC) == 0)
+ if (abfd != first_pbfd
+ && (abfd->flags & (DYNAMIC | BFD_PLUGIN)) == 0)
{
elf_property_list *null_ptr = NULL;
elf_property_list **listp = &null_ptr;