diff options
author | Dave Brolley <brolley@redhat.com> | 2007-02-05 23:15:38 +0000 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2007-02-05 23:15:38 +0000 |
commit | b31847af9321cb1e8b6a5ee9b532d3929cf17ae0 (patch) | |
tree | bddcbee2770ce39c4fc1c3d07b4594c67d45ffed /bfd | |
parent | 3c0e0973804702bc2230b633bf027ddad019479a (diff) | |
download | gdb-b31847af9321cb1e8b6a5ee9b532d3929cf17ae0.zip gdb-b31847af9321cb1e8b6a5ee9b532d3929cf17ae0.tar.gz gdb-b31847af9321cb1e8b6a5ee9b532d3929cf17ae0.tar.bz2 |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elflink.c | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8e0e011..8bfc5b0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,4 +1,10 @@ 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> * elflink.h: Add support for Toshiba MeP. * reloc.c: Likewise. diff --git a/bfd/elflink.c b/bfd/elflink.c index 4da5d79..b4dfceb 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -8082,6 +8082,15 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd) if (isymbuf == NULL) 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 SEC_MERGE sections. Write out those local symbols we know are |