aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-04 05:49:04 +0000
committerIan Lance Taylor <iant@google.com>2007-10-04 05:49:04 +0000
commitad2d6943a49fa11ba1e23749973c75feb12dcf6b (patch)
treebc02409b029014fba4f735d3dea15217bbb58c9b /gold/main.cc
parent4638dbaa96a30d93647bb737b9a49ee1ca878a7d (diff)
downloadgdb-ad2d6943a49fa11ba1e23749973c75feb12dcf6b.zip
gdb-ad2d6943a49fa11ba1e23749973c75feb12dcf6b.tar.gz
gdb-ad2d6943a49fa11ba1e23749973c75feb12dcf6b.tar.bz2
Full support for --sysroot.
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/main.cc b/gold/main.cc
index e1135e9..ccd958d 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -65,7 +65,7 @@ main(int argc, char** argv)
// Get the search path from the -L options.
Dirsearch search_path;
- search_path.add(&workqueue, command_line.options().search_path());
+ search_path.initialize(&workqueue, &command_line.options().search_path());
// Queue up the first set of tasks.
queue_initial_tasks(command_line.options(), search_path,