diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-15 23:41:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-15 23:41:28 +0000 |
commit | 091244672e9cb571cb7272d491826f85de871ced (patch) | |
tree | 40be47b8e61a974e262595c7aa516f597970f285 /gold/main.cc | |
parent | 58da7b1b61de1ecfbcae3bf0050e8bb65d3ff547 (diff) | |
download | binutils-091244672e9cb571cb7272d491826f85de871ced.zip binutils-091244672e9cb571cb7272d491826f85de871ced.tar.gz binutils-091244672e9cb571cb7272d491826f85de871ced.tar.bz2 |
From Andrew Chatham and Craig Silverstein: Add support for version
scripts.
Diffstat (limited to 'gold/main.cc')
-rw-r--r-- | gold/main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/main.cc b/gold/main.cc index fb201d7..507e5dd 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); |