PR ld/13244
* elflink.c (elf_link_add_object_symbols): Don't make IR symbols
dynamic.
2011-10-08 Alan Modra <amodra@gmail.com>
+ PR ld/13229
+ PR ld/13244
+ * elflink.c (elf_link_add_object_symbols): Don't make IR symbols
+ dynamic.
+
+2011-10-08 Alan Modra <amodra@gmail.com>
+
+ PR ld/13229
* elflink.c (elf_link_output_extsym): Strip defined plugin symbols
even when strip_discarded is false.
dynsym = TRUE;
}
+ /* We don't want to make debug symbol dynamic. */
if (definition && (sec->flags & SEC_DEBUGGING) && !info->relocatable)
- {
- /* We don't want to make debug symbol dynamic. */
- dynsym = FALSE;
- }
+ dynsym = FALSE;
+
+ /* Nor should we make plugin symbols dynamic. */
+ if ((abfd->flags & BFD_PLUGIN) != 0)
+ dynsym = FALSE;
if (definition)
h->target_internal = isym->st_target_internal;