]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fix dwarf_formref_die DW_FORM_ref_sig8 hash table insertion.
authorRoland McGrath <roland@redhat.com>
Tue, 27 Jul 2010 11:40:23 +0000 (04:40 -0700)
committerRoland McGrath <roland@redhat.com>
Tue, 27 Jul 2010 11:40:23 +0000 (04:40 -0700)
libdw/ChangeLog
libdw/dwarf_formref_die.c

index 7aca379505b5842e2cdca351d7d59e4eeb6c09bc..d0b54f3cb0ef518d639e773e57dbc8b1b4137ec4 100644 (file)
@@ -1,3 +1,7 @@
+2010-07-27  Roland McGrath  <roland@redhat.com>
+
+       * dwarf_formref_die.c: Fix sig8 hash insertion.
+
 2010-06-23  Roland McGrath  <roland@redhat.com>
 
        * cfi.c (dwarf_cfi_validate_fde): Function removed.
index 65242586f9e67b9f0735c25377e425b0706eab50..3ec770d263b070cb0fd06642e3ae8f8dfbb5036a 100644 (file)
@@ -101,7 +101,7 @@ dwarf_formref_die (attr, result)
                                  ?: DWARF_E_INVALID_REFERENCE);
                return NULL;
              }
-           Dwarf_Sig8_Hash_insert (&cu->dbg->sig8_hash, sig, cu);
+           Dwarf_Sig8_Hash_insert (&cu->dbg->sig8_hash, cu->type_sig8, cu);
          }
        while (cu->type_sig8 != sig);