aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-11-14 16:53:25 +0000
committerIan Lance Taylor <iant@google.com>2007-11-14 16:53:25 +0000
commit9a2d69841557c502021be98221a796ebe253fa09 (patch)
tree0b92ca469f9782810c95cbbc2e2aa5e80273c669 /gold/layout.h
parent3e6fe5ae738660d48c8b6a3e0206cbd2d23fa1c5 (diff)
downloadbinutils-9a2d69841557c502021be98221a796ebe253fa09.zip
binutils-9a2d69841557c502021be98221a796ebe253fa09.tar.gz
binutils-9a2d69841557c502021be98221a796ebe253fa09.tar.bz2
Add heuristics for undefined symbol warnings.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gold/layout.h b/gold/layout.h
index fa804ad..5b9f28d 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -506,11 +506,12 @@ class Write_data_task : public Task
class Write_symbols_task : public Task
{
public:
- Write_symbols_task(const Symbol_table* symtab, const Target* target,
+ Write_symbols_task(const Symbol_table* symtab,
+ const Input_objects* input_objects,
const Stringpool* sympool, const Stringpool* dynpool,
Output_file* of, Task_token* final_blocker)
- : symtab_(symtab), target_(target), sympool_(sympool), dynpool_(dynpool),
- of_(of), final_blocker_(final_blocker)
+ : symtab_(symtab), input_objects_(input_objects), sympool_(sympool),
+ dynpool_(dynpool), of_(of), final_blocker_(final_blocker)
{ }
// The standard Task methods.
@@ -526,7 +527,7 @@ class Write_symbols_task : public Task
private:
const Symbol_table* symtab_;
- const Target* target_;
+ const Input_objects* input_objects_;
const Stringpool* sympool_;
const Stringpool* dynpool_;
Output_file* of_;