diff options
author | Ian Lance Taylor <iant@google.com> | 2007-08-22 05:06:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-08-22 05:06:38 +0000 |
commit | a6badf5a97374debb5be7b7e6e624f409e14e00d (patch) | |
tree | 5becd23e990a6d3cc72b377591a6652673fb1b72 /gold/options.h | |
parent | 6b2d86bda4d98894598f17fb8682e7cd4eafd833 (diff) | |
download | gdb-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.h | 10 |
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_; |