2007-02-05 Dave Brolley <brolley@redhat.com>
Stan Cox <scox@redhat.com> PR ld/3972 * elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.
This commit is contained in:
parent
3c0e097380
commit
b31847af93
|
@ -1,3 +1,9 @@
|
||||||
|
2007-02-05 Dave Brolley <brolley@redhat.com>
|
||||||
|
Stan Cox <scox@redhat.com>
|
||||||
|
|
||||||
|
PR ld/3972
|
||||||
|
* elflink.c (elf_link_input_bfd): Always setup finfo->internal_syms.
|
||||||
|
|
||||||
2007-02-05 Dave Brolley <brolley@redhat.com>
|
2007-02-05 Dave Brolley <brolley@redhat.com>
|
||||||
|
|
||||||
* elflink.h: Add support for Toshiba MeP.
|
* elflink.h: Add support for Toshiba MeP.
|
||||||
|
|
|
@ -8082,6 +8082,15 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd)
|
||||||
if (isymbuf == NULL)
|
if (isymbuf == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
/* evaluate_complex_relocation_symbols looks for symbols in
|
||||||
|
finfo->internal_syms. */
|
||||||
|
else if (isymbuf != NULL && locsymcount != 0)
|
||||||
|
{
|
||||||
|
bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
|
||||||
|
finfo->internal_syms,
|
||||||
|
finfo->external_syms,
|
||||||
|
finfo->locsym_shndx);
|
||||||
|
}
|
||||||
|
|
||||||
/* Find local symbol sections and adjust values of symbols in
|
/* Find local symbol sections and adjust values of symbols in
|
||||||
SEC_MERGE sections. Write out those local symbols we know are
|
SEC_MERGE sections. Write out those local symbols we know are
|
||||||
|
|
Loading…
Reference in New Issue