diff options
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index fb5cf9f..2bd232d 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -301,7 +301,7 @@ read_indirect_string (struct comp_unit* unit, sz = msec->rawsize ? msec->rawsize : msec->size; stash->dwarf_str_size = sz; stash->dwarf_str_buffer = bfd_alloc (abfd, sz); - if (! stash->dwarf_abbrev_buffer) + if (! stash->dwarf_str_buffer) return NULL; if (! bfd_get_section_contents (abfd, msec, stash->dwarf_str_buffer, |