diff options
Diffstat (limited to 'gold/object.cc')
-rw-r--r-- | gold/object.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/object.cc b/gold/object.cc index 8efd4ec..0b71be1 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -919,8 +919,9 @@ Relocate_info<size, big_endian>::location(size_t, off_t offset) const shndx, &debuglines_size, false); if (debuglines) { - Dwarf_line_info line_info(debuglines, debuglines_size); - line_info.read_line_mappings<size, big_endian>(); + Dwarf_line_info<size, big_endian> line_info(debuglines, + debuglines_size); + line_info.read_line_mappings(); file_and_lineno = line_info.addr2line(this->data_shndx, offset); } break; |