aboutsummaryrefslogtreecommitdiff
path: root/gold/options.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-10-18 23:20:53 +0000
committerIan Lance Taylor <iant@google.com>2007-10-18 23:20:53 +0000
commit51b08ebe94b5dbaa1feb97d2b062e0098e277ea9 (patch)
treebfc86ec4e97c4879532a4539c94442130e70022f /gold/options.cc
parentaf4a8a833e23e7d7bba9fa3c3b5ff9325dc3df94 (diff)
downloadgdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.zip
gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.gz
gdb-51b08ebe94b5dbaa1feb97d2b062e0098e277ea9.tar.bz2
Add support for -Bsymbolic.
Diffstat (limited to 'gold/options.cc')
-rw-r--r--gold/options.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.cc b/gold/options.cc
index 6911e03..9513f15 100644
--- a/gold/options.cc
+++ b/gold/options.cc
@@ -312,6 +312,8 @@ 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),
+ 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"),
NULL, TWO_DASHES, &General_options::set_export_dynamic),
GENERAL_NOARG('\0', "eh-frame-hdr", N_("Create exception frame header"),
@@ -407,6 +409,7 @@ General_options::General_options()
output_file_name_("a.out"),
is_relocatable_(false),
strip_(STRIP_NONE),
+ symbolic_(false),
create_eh_frame_hdr_(false),
rpath_(),
rpath_link_(),