aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-26 01:17:45 +0000
committerIan Lance Taylor <iant@google.com>2008-01-26 01:17:45 +0000
commit9b07f471e3360c9790f7ec83400e500e5f3098ca (patch)
treef2efce735a3f4314b493706a771566c5441f97be /gold/layout.h
parent8f0a6da7a9e9d4b8258af20cfb5db072ace0ba86 (diff)
downloadgdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.zip
gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.tar.gz
gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.tar.bz2
Don't pass around the target in order to define symbols; get it from
the parameters instead.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gold/layout.h b/gold/layout.h
index b40a7ab..f070039 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -137,16 +137,16 @@ class Layout
// Create dynamic sections if necessary.
void
- create_initial_dynamic_sections(const Input_objects*, Symbol_table*);
+ create_initial_dynamic_sections(Symbol_table*);
// Define __start and __stop symbols for output sections.
void
- define_section_symbols(Symbol_table*, const Target*);
+ define_section_symbols(Symbol_table*);
// Define symbols from any linker script.
void
- define_script_symbols(Symbol_table* symtab, const Target* target)
- { this->script_options_->add_symbols_to_table(symtab, target); }
+ define_script_symbols(Symbol_table* symtab)
+ { this->script_options_->add_symbols_to_table(symtab); }
// Return the Stringpool used for symbol names.
const Stringpool*
@@ -319,8 +319,8 @@ class Layout
// Create the dynamic symbol table.
void
- create_dynamic_symtab(const Input_objects*, const Target*,
- Symbol_table*, Output_section** pdynstr,
+ create_dynamic_symtab(const Input_objects*, Symbol_table*,
+ Output_section** pdynstr,
unsigned int* plocal_dynamic_count,
std::vector<Symbol*>* pdynamic_symbols,
Versions* versions);