aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-18 23:26:48 +0000
committerIan Lance Taylor <iant@google.com>2008-01-18 23:26:48 +0000
commit14144f39e4581f4f39bcd44c2f8336fee28b0220 (patch)
tree27a91c439e1201a53adafe630f40cf9d38b50f30 /gold/layout.cc
parent6c0784b28fbb83da4507af0aca9db625363925da (diff)
downloadgdb-14144f39e4581f4f39bcd44c2f8336fee28b0220.zip
gdb-14144f39e4581f4f39bcd44c2f8336fee28b0220.tar.gz
gdb-14144f39e4581f4f39bcd44c2f8336fee28b0220.tar.bz2
Don't include options.h in fileread.h. Remove General_options
reference from Output_file class.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 63fd2b8..9f4c922 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -28,6 +28,7 @@
#include <utility>
#include "parameters.h"
+#include "options.h"
#include "output.h"
#include "symtab.h"
#include "dynobj.h"
@@ -52,8 +53,7 @@ Layout_task_runner::run(Workqueue* workqueue, const Task* task)
// Now we know the final size of the output file and we know where
// each piece of information goes.
- Output_file* of = new Output_file(this->options_,
- this->input_objects_->target());
+ Output_file* of = new Output_file(parameters->output_file_name());
of->open(file_size);
// Queue up the final set of tasks.