From Andrew Chatham and Craig Silverstein: Add support for version

scripts.
This commit is contained in:
Ian Lance Taylor
2008-01-15 23:41:28 +00:00
parent 58da7b1b61
commit 091244672e
20 changed files with 1017 additions and 106 deletions

View File

@@ -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);