aboutsummaryrefslogtreecommitdiff
path: root/gold/archive.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/archive.h')
-rw-r--r--gold/archive.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gold/archive.h b/gold/archive.h
index 8c35d22..7fa1d11 100644
--- a/gold/archive.h
+++ b/gold/archive.h
@@ -98,8 +98,12 @@ class Archive
// Get a view into the underlying file.
const unsigned char*
- get_view(off_t start, off_t size, off_t* pbytes = NULL)
- { return this->input_file_->file().get_view(start, size, pbytes); }
+ get_view(off_t start, off_t size)
+ { return this->input_file_->file().get_view(start, size); }
+
+ const unsigned char*
+ get_view_and_size(off_t start, off_t size, off_t* pbytes)
+ { return this->input_file_->file().get_view_and_size(start, size, pbytes); }
// Read the archive symbol map.
void