aboutsummaryrefslogtreecommitdiff
path: root/gold/readsyms.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/readsyms.cc')
-rw-r--r--gold/readsyms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/readsyms.cc b/gold/readsyms.cc
index 2b200ba..ba3e85e 100644
--- a/gold/readsyms.cc
+++ b/gold/readsyms.cc
@@ -61,7 +61,7 @@ Read_symbols::run(Workqueue* workqueue)
return;
}
- Input_file* input_file = new Input_file(this->input_argument_->file());
+ Input_file* input_file = new Input_file(&this->input_argument_->file());
input_file->open(this->options_, this->dirpath_);
// Read enough of the file to pick up the entire ELF header.