aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-21 07:20:01 +0000
committerIan Lance Taylor <iant@google.com>2007-09-21 07:20:01 +0000
commit7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b (patch)
tree8e9869d1fd6febfdfdc5e754ba12f36e899d9bb2 /gold/main.cc
parentbe9d5a933eb75809b583dc29bc7deb7690954d12 (diff)
downloadgdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.zip
gdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.tar.gz
gdb-7e1edb9089c4eec761d09d9bb0ce675eb0bcbc2b.tar.bz2
Add global parameters.
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/main.cc b/gold/main.cc
index ea65c2d..6395e62 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -3,6 +3,7 @@
#include "gold.h"
#include "options.h"
+#include "parameters.h"
#include "dirsearch.h"
#include "workqueue.h"
#include "object.h"
@@ -28,6 +29,7 @@ main(int argc, char** argv)
// Handle the command line options.
Command_line command_line;
command_line.process(argc - 1, argv + 1);
+ initialize_parameters(&command_line.options());
// The work queue.
Workqueue workqueue(command_line.options());