diff options
author | Ian Lance Taylor <iant@google.com> | 2007-08-21 20:37:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-08-21 20:37:32 +0000 |
commit | 41f542e70b89b9ea2875c438b0c9a60ac46092dd (patch) | |
tree | e731637699fca298f82185865790dd38321e4f69 /gold/output.h | |
parent | fcb7aa2f6b17eb5211fe4d361eab8d985c40065e (diff) | |
download | gdb-41f542e70b89b9ea2875c438b0c9a60ac46092dd.zip gdb-41f542e70b89b9ea2875c438b0c9a60ac46092dd.tar.gz gdb-41f542e70b89b9ea2875c438b0c9a60ac46092dd.tar.bz2 |
Add support for -rpath.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/output.h b/gold/output.h index 7ed53ff..3147080 100644 --- a/gold/output.h +++ b/gold/output.h @@ -1040,6 +1040,10 @@ class Output_data_dynamic : public Output_section_data add_string(elfcpp::DT tag, const char* str) { this->add_entry(Dynamic_entry(tag, this->pool_->add(str, NULL))); } + void + add_string(elfcpp::DT tag, const std::string& str) + { this->add_string(tag, str.c_str()); } + // Set the final data size. void do_set_address(uint64_t, off_t); |