diff options
author | Cary Coutant <ccoutant@google.com> | 2012-04-17 00:28:41 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2012-04-17 00:28:41 +0000 |
commit | 31821be097c4154d3d7d201d9f4939a47af97ac6 (patch) | |
tree | 7edeb0b25537320dfc7f1630032882ca0ce24aad /gold/options.h | |
parent | f3e8aed33920e15de4df81090af592a6940ce01b (diff) | |
download | gdb-31821be097c4154d3d7d201d9f4939a47af97ac6.zip gdb-31821be097c4154d3d7d201d9f4939a47af97ac6.tar.gz gdb-31821be097c4154d3d7d201d9f4939a47af97ac6.tar.bz2 |
* archive.cc (Library_base::should_include_member): Check for
--export-dynamic-symbol.
* options.h (class General_options): Add --export-dynamic-symbol.
* symtab.cc (Symbol::should_add_dynsym_entry): Check for
--export-dynamic-symbol.
(Symbol_table::gc_mark_undef_symbols): Likewise.
(Symbol_table::do_add_undefined_symbols_from_command_line): Likewise.
Diffstat (limited to 'gold/options.h')
-rw-r--r-- | gold/options.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h index b5df3eb..b244bd5 100644 --- a/gold/options.h +++ b/gold/options.h @@ -739,6 +739,9 @@ class General_options N_("Export all dynamic symbols"), N_("Do not export all dynamic symbols (default)")); + DEFINE_set(export_dynamic_symbol, options::TWO_DASHES, '\0', + N_("Export SYMBOL to dynamic symbol table"), N_("SYMBOL")); + DEFINE_special(EB, options::ONE_DASH, '\0', N_("Link big-endian objects."), NULL); |