aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc
index 9513f15..4e74dce 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -312,6 +312,14 @@ options::Command_line_options::options[] =
POSDEP_NOARG('\0', "no-as-needed",
N_("Always DT_NEEDED for dynamic libs (default)"),
NULL, TWO_DASHES, &Position_dependent_options::clear_as_needed),
+ POSDEP_NOARG('\0', "Bdynamic",
+ N_("-l searches for shared libraries"),
+ NULL, ONE_DASH,
+ &Position_dependent_options::set_dynamic_search),
+ POSDEP_NOARG('\0', "Bstatic",
+ N_("-l does not search for shared libraries"),
+ NULL, ONE_DASH,
+ &Position_dependent_options::set_static_search),
GENERAL_NOARG('\0', "Bsymbolic", N_("Bind defined symbols locally"),
NULL, ONE_DASH, &General_options::set_symbolic),
GENERAL_NOARG('E', "export-dynamic", N_("Export all dynamic symbols"),