From 8851eccaec28f25f56fab5ba5d8ae44f71729975 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 28 Feb 2008 00:18:24 +0000 Subject: From Craig Silverstein: Have Parameters point to General_options. --- gold/main.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/main.cc') diff --git a/gold/main.cc b/gold/main.cc index 678bd032efd..2fc9439f473 100644 --- a/gold/main.cc +++ b/gold/main.cc @@ -145,7 +145,7 @@ main(int argc, char** argv) // Initialize the global parameters, to let random code get to the // errors object. - initialize_parameters(&errors); + set_parameters_errors(&errors); // Handle the command line options. Command_line command_line; @@ -156,7 +156,7 @@ main(int argc, char** argv) start_time = get_run_time(); // Store some options in the globally accessible parameters. - set_parameters_from_options(&command_line.options()); + set_parameters_options(&command_line.options()); // Do this as early as possible (since it prints a welcome message). write_debug_script(command_line.options().output_file_name(), @@ -169,7 +169,7 @@ main(int argc, char** argv) // permit symbols to be forced local with -r, though, as it would // permit some linker optimizations. Perhaps we need yet another // option to control this. FIXME. - if (parameters->output_is_object()) + if (parameters->options().relocatable()) command_line.script_options().version_script_info()->clear(); // The work queue. -- cgit v1.2.1