aboutsummaryrefslogtreecommitdiff
path: root/gold/binary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/binary.cc')
-rw-r--r--gold/binary.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/binary.cc b/gold/binary.cc
index 9909ff4..bee5157 100644
--- a/gold/binary.cc
+++ b/gold/binary.cc
@@ -132,7 +132,7 @@ Binary_to_elf::sized_convert(const Task* task)
}
section_size_type filesize = convert_to_section_size_type(f.filesize());
- const unsigned char* fileview = f.get_view(0, filesize, false);
+ const unsigned char* fileview = f.get_view(0, 0, filesize, false, false);
unsigned int align;
if (size == 32)