diff options
author | Roland McGrath <roland@redhat.com> | 2010-07-27 04:40:23 -0700 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-07-27 04:40:23 -0700 |
commit | 00aca7ff366109a56ec923b16c751ce1087b8cf6 (patch) | |
tree | 37dbfacff8fd968342bfbf54b61ef54ef597031a | |
parent | 52604ba46f0360dcb1d1f769c4a3b66befdc7a16 (diff) | |
download | elfutils-00aca7ff366109a56ec923b16c751ce1087b8cf6.tar.gz |
Fix dwarf_formref_die DW_FORM_ref_sig8 hash table insertion.
-rw-r--r-- | libdw/ChangeLog | 4 | ||||
-rw-r--r-- | libdw/dwarf_formref_die.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 7aca3795..d0b54f3c 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -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. diff --git a/libdw/dwarf_formref_die.c b/libdw/dwarf_formref_die.c index 65242586..3ec770d2 100644 --- a/libdw/dwarf_formref_die.c +++ b/libdw/dwarf_formref_die.c @@ -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); |