summaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-15 23:41:28 +0000
committerIan Lance Taylor <iant@google.com>2008-01-15 23:41:28 +0000
commit091244672e9cb571cb7272d491826f85de871ced (patch)
tree40be47b8e61a974e262595c7aa516f597970f285 /gold/main.cc
parent58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547 (diff)
From Andrew Chatham and Craig Silverstein: Add support for version
scripts.
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/main.cc b/gold/main.cc
index fb201d7fb0..507e5dd9e6 100644
--- a/gold/main.cc
+++ b/gold/main.cc
@@ -84,7 +84,8 @@ main(int argc, char** argv)
// we're going to see based on the number of input files. Even when
// this is off, it means at worse we don't quite optimize hashtable
// resizing as well as we could have (perhap using more memory).
- Symbol_table symtab(command_line.number_of_input_files() * 1024);
+ Symbol_table symtab(command_line.number_of_input_files() * 1024,
+ command_line.options().version_script());
// The layout object.
Layout layout(command_line.options(), &script_options);