diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-18 00:48:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-18 00:48:04 +0000 |
commit | 8383303e0acce6e4332e2a2097b832e2deb880ec (patch) | |
tree | 6ccbc99caa33528817ffef492de98dfd19262563 /gold/archive.h | |
parent | 3d372cd7a1b4639eed8fc062829a97b67a1342bf (diff) | |
download | gdb-8383303e0acce6e4332e2a2097b832e2deb880ec.zip gdb-8383303e0acce6e4332e2a2097b832e2deb880ec.tar.gz gdb-8383303e0acce6e4332e2a2097b832e2deb880ec.tar.bz2 |
Add section_size_type and section_offset_type, use them to replace a
lot of instances of off_t.
Diffstat (limited to 'gold/archive.h')
-rw-r--r-- | gold/archive.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/archive.h b/gold/archive.h index b135cd6..fb83ea6 100644 --- a/gold/archive.h +++ b/gold/archive.h @@ -110,12 +110,12 @@ class Archive // Get a view into the underlying file. const unsigned char* - get_view(off_t start, off_t size, bool cache) + get_view(off_t start, section_size_type size, bool cache) { return this->input_file_->file().get_view(start, size, cache); } // Read the archive symbol map. void - read_armap(off_t start, off_t size); + read_armap(off_t start, section_size_type size); // Read an archive member header at OFF. Return the size of the // member, and set *PNAME to the name. |