* cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
authorDave Korn <dave.korn@artimi.com>
Thu, 1 Oct 2009 19:48:12 +0000 (19:48 +0000)
committerDave Korn <dave.korn@artimi.com>
Thu, 1 Oct 2009 19:48:12 +0000 (19:48 +0000)
symbol for a weak undef in the auxbfd, not the input bfd.

bfd/ChangeLog
bfd/cofflink.c

index 393a8e2e006ab7d1c4ba897b671d02b0cf3ab7d7..b4301ebd615e64713673b37c4e5cba73e1a1b285 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-01  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
+       symbol for a weak undef in the auxbfd, not the input bfd.
+
 2009-10-01  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script
index 12a693e0edad2006252900cab3015d6af188a59b..3253e5eecd7a923f8e908b347122af84116180e8 100644 (file)
@@ -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)
This page took 0.02865 seconds and 4 git commands to generate.