diff options
author | Ian Lance Taylor <iant@google.com> | 2006-10-06 20:40:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-10-06 20:40:16 +0000 |
commit | 12e14209f0834b6d3d9884a586b558c32eb2607c (patch) | |
tree | 04db4beba9abf0d2bb6f91c383a4ac4d76cf7541 /gold/layout.h | |
parent | 33423b7ffed87b140d924bc06ff35d353bfc4871 (diff) | |
download | gdb-12e14209f0834b6d3d9884a586b558c32eb2607c.zip gdb-12e14209f0834b6d3d9884a586b558c32eb2607c.tar.gz gdb-12e14209f0834b6d3d9884a586b558c32eb2607c.tar.bz2 |
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.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 |