From 8383303e0acce6e4332e2a2097b832e2deb880ec Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 18 Dec 2007 00:48:04 +0000 Subject: Add section_size_type and section_offset_type, use them to replace a lot of instances of off_t. --- gold/dwarf_reader.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/dwarf_reader.cc') diff --git a/gold/dwarf_reader.cc b/gold/dwarf_reader.cc index 1190066..bf03ca3 100644 --- a/gold/dwarf_reader.cc +++ b/gold/dwarf_reader.cc @@ -127,9 +127,9 @@ Sized_dwarf_line_info::Sized_dwarf_line_info(Object* object, for (debug_shndx = 0; debug_shndx < object->shnum(); ++debug_shndx) if (object->section_name(debug_shndx) == ".debug_line") { - off_t buffer_size; - this->buffer_ = object->section_contents( - debug_shndx, &buffer_size, false); + section_size_type buffer_size; + this->buffer_ = object->section_contents(debug_shndx, &buffer_size, + false); this->buffer_end_ = this->buffer_ + buffer_size; break; } -- cgit v1.1