diff options
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gold/layout.h b/gold/layout.h index 930d2b9..028d714 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 |