PR ld/13229
PR ld/13244 * elflink.c (elf_link_add_object_symbols): Don't make IR symbols dynamic.
This commit is contained in:
parent
99df68896e
commit
c3df8c1482
2 changed files with 14 additions and 4 deletions
|
@ -1,5 +1,13 @@
|
||||||
2011-10-08 Alan Modra <amodra@gmail.com>
|
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
|
* elflink.c (elf_link_output_extsym): Strip defined plugin symbols
|
||||||
even when strip_discarded is false.
|
even when strip_discarded is false.
|
||||||
|
|
||||||
|
|
|
@ -4376,11 +4376,13 @@ error_free_dyn:
|
||||||
dynsym = TRUE;
|
dynsym = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* We don't want to make debug symbol dynamic. */
|
||||||
if (definition && (sec->flags & SEC_DEBUGGING) && !info->relocatable)
|
if (definition && (sec->flags & SEC_DEBUGGING) && !info->relocatable)
|
||||||
{
|
dynsym = FALSE;
|
||||||
/* We don't want to make debug symbol dynamic. */
|
|
||||||
dynsym = FALSE;
|
/* Nor should we make plugin symbols dynamic. */
|
||||||
}
|
if ((abfd->flags & BFD_PLUGIN) != 0)
|
||||||
|
dynsym = FALSE;
|
||||||
|
|
||||||
if (definition)
|
if (definition)
|
||||||
h->target_internal = isym->st_target_internal;
|
h->target_internal = isym->st_target_internal;
|
||||||
|
|
Loading…
Reference in a new issue