From 9b07f471e3360c9790f7ec83400e500e5f3098ca Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 26 Jan 2008 01:17:45 +0000 Subject: Don't pass around the target in order to define symbols; get it from the parameters instead. --- gold/gold.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gold/gold.cc') 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 -- cgit v1.1