diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-04 05:35:24 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-04 05:35:24 +0000 |
commit | fced7afdce32a299d799f52ebd92a92572c2f9f5 (patch) | |
tree | a516bc2854971865b63f828e7ec9be8e865be6f1 /gold/options.h | |
parent | 1bedcac52a2f05841dcdefcd1248ae3393274471 (diff) | |
download | gdb-fced7afdce32a299d799f52ebd92a92572c2f9f5.zip gdb-fced7afdce32a299d799f52ebd92a92572c2f9f5.tar.gz gdb-fced7afdce32a299d799f52ebd92a92572c2f9f5.tar.bz2 |
Add -h/-soname option.
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 cae1b1a..86d9bd7 100644 --- a/gold/options.h +++ b/gold/options.h @@ -113,6 +113,11 @@ class General_options export_dynamic() const { return this->export_dynamic_; } + // -h: shared library name. + const char* + soname() const + { return this->soname_; } + // -I: dynamic linker name. const char* dynamic_linker() const @@ -311,6 +316,10 @@ class General_options { this->export_dynamic_ = true; } void + set_soname(const char* arg) + { this->soname_ = arg; } + + void set_dynamic_linker(const char* arg) { this->dynamic_linker_ = arg; } @@ -501,6 +510,7 @@ class General_options add_sysroot(); bool export_dynamic_; + const char* soname_; const char* dynamic_linker_; Dir_list search_path_; int optimization_level_; |