aboutsummaryrefslogtreecommitdiff
path: root/gold/options.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-08-22 05:06:38 +0000
committerIan Lance Taylor <iant@google.com>2007-08-22 05:06:38 +0000
commita6badf5a97374debb5be7b7e6e624f409e14e00d (patch)
tree5becd23e990a6d3cc72b377591a6652673fb1b72 /gold/options.h
parent6b2d86bda4d98894598f17fb8682e7cd4eafd833 (diff)
downloadgdb-a6badf5a97374debb5be7b7e6e624f409e14e00d.zip
gdb-a6badf5a97374debb5be7b7e6e624f409e14e00d.tar.gz
gdb-a6badf5a97374debb5be7b7e6e624f409e14e00d.tar.bz2
Add support for -E/--export-dynamic. Also clean up --help output a bit.
Diffstat (limited to 'gold/options.h')
-rw-r--r--gold/options.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index 3c13deb..05203b1 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -37,6 +37,11 @@ class General_options
public:
General_options();
+ // -E: export dynamic symbols.
+ bool
+ export_dynamic() const
+ { return this->export_dynamic_; }
+
// -I: dynamic linker name.
const char*
dynamic_linker() const
@@ -83,6 +88,10 @@ class General_options
friend class options::Command_line_options;
void
+ set_export_dynamic()
+ { this->export_dynamic_ = true; }
+
+ void
set_dynamic_linker(const char* arg)
{ this->dynamic_linker_ = arg; }
@@ -114,6 +123,7 @@ class General_options
ignore(const char*)
{ }
+ bool export_dynamic_;
const char* dynamic_linker_;
Dir_list search_path_;
const char* output_file_name_;