diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-28 00:18:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-28 00:18:24 +0000 |
commit | 8851eccaec28f25f56fab5ba5d8ae44f71729975 (patch) | |
tree | 8580999a45a15a7e86dbabb0675a05f647aedd1a /gold/main.cc | |
parent | f960754aeea602f787d1828efb0f9a8baeca646e (diff) | |
download | gdb-8851eccaec28f25f56fab5ba5d8ae44f71729975.zip gdb-8851eccaec28f25f56fab5ba5d8ae44f71729975.tar.gz gdb-8851eccaec28f25f56fab5ba5d8ae44f71729975.tar.bz2 |
From Craig Silverstein: Have Parameters point to General_options.
Diffstat (limited to 'gold/main.cc')
-rw-r--r-- | gold/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/main.cc b/gold/main.cc index 678bd03..2fc9439 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. |