summaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-10-06 20:40:16 +0000
committerIan Lance Taylor <iant@google.com>2006-10-06 20:40:16 +0000
commit9baca002e8ca1b86e175752c2373d26df51a63c6 (patch)
tree3719529c4a85ed5177c6447a2a92dd20f920269a /gold/layout.h
parent2617ae291a27d3eca32b081228dd15f3b7764938 (diff)
downloadbinutils-redhat-9baca002e8ca1b86e175752c2373d26df51a63c6.tar.gz
Lay out object file sections when we add the symbols to the symbol
table.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gold/layout.h b/gold/layout.h
index 930d2b9c6c..028d714e6a 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -37,9 +37,10 @@ class Layout_task : public Task
Layout_task(const General_options& options,
const Input_objects* input_objects,
Symbol_table* symtab,
+ Layout* layout,
Task_token* this_blocker)
: options_(options), input_objects_(input_objects), symtab_(symtab),
- this_blocker_(this_blocker)
+ layout_(layout), this_blocker_(this_blocker)
{ }
~Layout_task();
@@ -62,6 +63,7 @@ class Layout_task : public Task
const General_options& options_;
const Input_objects* input_objects_;
Symbol_table* symtab_;
+ Layout* layout_;
Task_token* this_blocker_;
};
@@ -72,10 +74,6 @@ class Layout
public:
Layout(const General_options& options);
- // Initialize the object.
- void
- init();
-
// Given an input section named NAME with data in SHDR from the
// object file OBJECT, return the output section where this input
// section should go. Set *OFFSET to the offset within the output