diff options
author | Dave Korn <dave.korn@artimi.com> | 2009-10-01 19:48:12 +0000 |
---|---|---|
committer | Dave Korn <dave.korn@artimi.com> | 2009-10-01 19:48:12 +0000 |
commit | eb503a00aff025a4ad4aaf2e027fbeb86e23bd17 (patch) | |
tree | 91b20f160cc58e1f7d5a246b15845e5c7a532729 /bfd/cofflink.c | |
parent | 634b50f2a6239deaa1eb3a9811b6b11659fa2e1b (diff) | |
download | gdb-eb503a00aff025a4ad4aaf2e027fbeb86e23bd17.zip gdb-eb503a00aff025a4ad4aaf2e027fbeb86e23bd17.tar.gz gdb-eb503a00aff025a4ad4aaf2e027fbeb86e23bd17.tar.bz2 |
* cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
symbol for a weak undef in the auxbfd, not the input bfd.
Diffstat (limited to 'bfd/cofflink.c')
-rw-r--r-- | bfd/cofflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index 12a693e..3253e5e 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -2959,7 +2959,7 @@ _bfd_coff_generic_relocate_section (bfd *output_bfd, See also linker.c: generic_link_check_archive_element. */ asection *sec; struct coff_link_hash_entry *h2 = - input_bfd->tdata.coff_obj_data->sym_hashes[ + h->auxbfd->tdata.coff_obj_data->sym_hashes[ h->aux->x_sym.x_tagndx.l]; if (!h2 || h2->root.type == bfd_link_hash_undefined) |