Unwrap symbols for debug information
[deliverable/binutils-gdb.git] / bfd / elf64-hppa.c
index 49473e73d0b39aa6b71239a70cb263e0bb481820..b57497d4b53550027b6b806d3ffcd5b168db122d 100644 (file)
@@ -3868,6 +3868,11 @@ elf64_hppa_relocate_section (bfd *output_bfd,
 
          eh = sym_hashes[r_symndx - symtab_hdr->sh_info];
 
+         if (info->wrap_hash != NULL
+             && (input_section->flags & SEC_DEBUGGING) != 0)
+           eh = ((struct elf_link_hash_entry *)
+                 unwrap_hash_lookup (info, input_bfd, &eh->root));
+
          while (eh->root.type == bfd_link_hash_indirect
                 || eh->root.type == bfd_link_hash_warning)
            eh = (struct elf_link_hash_entry *) eh->root.u.i.link;
This page took 0.024539 seconds and 4 git commands to generate.