diff options
-rw-r--r-- | gold/archive.cc | 7 | ||||
-rw-r--r-- | gold/symtab.cc | 6 |
2 files changed, 0 insertions, 13 deletions
diff --git a/gold/archive.cc b/gold/archive.cc index 0de9717..ff426b2 100644 --- a/gold/archive.cc +++ b/gold/archive.cc @@ -120,13 +120,6 @@ Library_base::should_include_member(Symbol_table* symtab, Layout* layout, return Library_base::SHOULD_INCLUDE_YES; } - if (parameters->options().is_export_dynamic_symbol(sym_name)) - { - *why = "--export-dynamic-symbol "; - *why += sym_name; - return Library_base::SHOULD_INCLUDE_YES; - } - if (layout->script_options()->is_referenced(sym_name)) { size_t alc = 100 + strlen(sym_name); diff --git a/gold/symtab.cc b/gold/symtab.cc index 3fa0804..5a21ddc 100644 --- a/gold/symtab.cc +++ b/gold/symtab.cc @@ -2475,12 +2475,6 @@ Symbol_table::do_add_undefined_symbols_from_command_line(Layout* layout) ++p) this->add_undefined_symbol_from_command_line<size>(p->c_str()); - for (options::String_set::const_iterator p = - parameters->options().export_dynamic_symbol_begin(); - p != parameters->options().export_dynamic_symbol_end(); - ++p) - this->add_undefined_symbol_from_command_line<size>(p->c_str()); - for (Script_options::referenced_const_iterator p = layout->script_options()->referenced_begin(); p != layout->script_options()->referenced_end(); |