aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-21 05:31:19 +0000
committerIan Lance Taylor <iant@google.com>2007-09-21 05:31:19 +0000
commitc51e6221b8abc026554349b0e8aa59477753b57b (patch)
tree69da000e6f8a21292026aaa1e7a6b040a5298c45 /gold/layout.cc
parentec51df9f1064740196d016ed12c2624049d80ba9 (diff)
downloadgdb-c51e6221b8abc026554349b0e8aa59477753b57b.zip
gdb-c51e6221b8abc026554349b0e8aa59477753b57b.tar.gz
gdb-c51e6221b8abc026554349b0e8aa59477753b57b.tar.bz2
Use nops when doing alignment padding between code sections.
Diffstat (limited to 'gold/layout.cc')
-rw-r--r--gold/layout.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/layout.cc b/gold/layout.cc
index 3e8a223..35de9e4 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -28,7 +28,8 @@ Layout_task_runner::run(Workqueue* workqueue)
// 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_);
+ Output_file* of = new Output_file(this->options_,
+ this->input_objects_->target());
of->open(file_size);
// Queue up the final set of tasks.