PR binutils/10858
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol table.
This commit is contained in:
parent
c9ee9c4cb8
commit
d4a77f3f0c
|
@ -1,3 +1,10 @@
|
|||
2010-02-24 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR binutils/10858
|
||||
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise
|
||||
SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol
|
||||
table.
|
||||
|
||||
2010-02-23 Andrew Zabolotny <anpaza@mail.ru>
|
||||
|
||||
PR binutils/11297
|
||||
|
|
|
@ -5755,9 +5755,7 @@ mips_elf_create_dynamic_relocation (bfd *output_bfd,
|
|||
|
||||
/* We must now calculate the dynamic symbol table index to use
|
||||
in the relocation. */
|
||||
if (h != NULL
|
||||
&& (!h->root.def_regular
|
||||
|| (info->shared && !info->symbolic && !h->root.forced_local)))
|
||||
if (h != NULL && ! SYMBOL_REFERENCES_LOCAL (info, &h->root))
|
||||
{
|
||||
indx = h->root.dynindx;
|
||||
if (SGI_COMPAT (output_bfd))
|
||||
|
|
Loading…
Reference in New Issue