aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.cc
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/gold.cc
parent8f0a6da7a9e9d4b8258af20cfb5db072ace0ba86 (diff)
downloadfsf-binutils-gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.zip
fsf-binutils-gdb-9b07f471e3360c9790f7ec83400e500e5f3098ca.tar.gz
fsf-binutils-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/gold.cc')
-rw-r--r--gold/gold.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index 9a43043..c738e31 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -196,18 +196,18 @@ queue_middle_tasks(const General_options& options,
// Define some sections and symbols needed for a dynamic link. This
// handles some cases we want to see before we read the relocs.
- layout->create_initial_dynamic_sections(input_objects, symtab);
+ layout->create_initial_dynamic_sections(symtab);
// Predefine standard symbols. This should be fast, so we don't
// bother to create a task for it.
- define_standard_symbols(symtab, layout, input_objects->target());
+ define_standard_symbols(symtab, layout);
// Define __start and __stop symbols for output sections where
// appropriate.
- layout->define_section_symbols(symtab, input_objects->target());
+ layout->define_section_symbols(symtab);
// Define symbols from any linker scripts.
- layout->define_script_symbols(symtab, input_objects->target());
+ layout->define_script_symbols(symtab);
// Read the relocations of the input files. We do this to find
// which symbols are used by relocations which require a GOT and/or