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 | 37e6529139df5327886c8ee5b70217c3ae9bfc7c (patch) | |
tree | bd9c7662c9b4f790ecc547cbe9f61db4977d3b32 /gold/main.cc | |
parent | 96fb12bdbf18a21963b32940f2cb76bad35d8902 (diff) | |
download | binutils-redhat-37e6529139df5327886c8ee5b70217c3ae9bfc7c.tar.gz |
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 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); |