diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-22 18:04:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-22 18:04:43 +0000 |
commit | 61611222588d1cd9c66c035a6b6dd61857d34653 (patch) | |
tree | 5197870414b18d9f14f77deccbec785caba07d6c /gold/options.cc | |
parent | ee6d2efee9fc57ed0be635dc0072bb8ba3891190 (diff) | |
download | gdb-61611222588d1cd9c66c035a6b6dd61857d34653.zip gdb-61611222588d1cd9c66c035a6b6dd61857d34653.tar.gz gdb-61611222588d1cd9c66c035a6b6dd61857d34653.tar.bz2 |
Implement -Bstatic/-Bdynamic.
Diffstat (limited to 'gold/options.cc')
-rw-r--r-- | gold/options.cc | 8 |
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"), |