aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-04 18:21:43 +0000
committerIan Lance Taylor <iant@google.com>2008-03-04 18:21:43 +0000
commit7cc619c3b1e037f50afd7c932d8c5409a6db5cb5 (patch)
tree10c46db6dcc8e2d41e93e851fb95ea06a816ed71 /gold/main.cc
parent95ece4283165eaa6beeb4a3497d12b8726e8bdc8 (diff)
downloadgdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.zip
gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.gz
gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.bz2
From Craig Silverstein: rename some option functions in preparation
for reworking option handling.
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/main.cc b/gold/main.cc
index 2fc9439..a5fd12c 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -152,7 +152,7 @@ main(int argc, char** argv)
command_line.process(argc - 1, argv + 1);
long start_time = 0;
- if (command_line.options().print_stats())
+ if (command_line.options().stats())
start_time = get_run_time();
// Store some options in the globally accessible parameters.
@@ -190,7 +190,7 @@ main(int argc, char** argv)
// Get the search path from the -L options.
Dirsearch search_path;
- search_path.initialize(&workqueue, &command_line.options().search_path());
+ search_path.initialize(&workqueue, &command_line.options().library_path());
// Queue up the first set of tasks.
queue_initial_tasks(command_line.options(), search_path,
@@ -200,7 +200,7 @@ main(int argc, char** argv)
// Run the main task processing loop.
workqueue.process(0);
- if (command_line.options().print_stats())
+ if (command_line.options().stats())
{
long run_time = get_run_time() - start_time;
fprintf(stderr, _("%s: total run time: %ld.%06ld seconds\n"),