diff options
Diffstat (limited to 'binutils-2.22/gold/archive.cc')
-rw-r--r-- | binutils-2.22/gold/archive.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils-2.22/gold/archive.cc b/binutils-2.22/gold/archive.cc index c2e6ff6..4db813d 100644 --- a/binutils-2.22/gold/archive.cc +++ b/binutils-2.22/gold/archive.cc @@ -104,6 +104,11 @@ Library_base::should_include_member(Symbol_table* symtab, Layout* layout, *why = "-u "; *why += sym_name; } + else if (parameters->options().is_export_dynamic_symbol(sym_name)) + { + *why = "--export-dynamic-symbol "; + *why += sym_name; + } else if (layout->script_options()->is_referenced(sym_name)) { size_t alc = 100 + strlen(sym_name); |