diff options
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index 54b0828..396a5a9 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -212,6 +212,9 @@ queue_middle_tasks(const General_options& options, // Define symbols from any linker scripts. layout->define_script_symbols(symtab); + // Add any symbols named with -u options to the symbol table. + symtab->add_undefined_symbols_from_command_line(); + // Attach sections to segments. layout->attach_sections_to_segments(); |