diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-29 20:10:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-29 20:10:17 +0000 |
commit | 27bc2bce094e3a3ef536c5b8c2a38470bd7f3217 (patch) | |
tree | d5e89fcd143c9cd693712fb947f7afdf2426adb6 /gold/merge.cc | |
parent | 6ac84f65c22563675d0c3153db167db8f99df6f9 (diff) | |
download | gdb-27bc2bce094e3a3ef536c5b8c2a38470bd7f3217.zip gdb-27bc2bce094e3a3ef536c5b8c2a38470bd7f3217.tar.gz gdb-27bc2bce094e3a3ef536c5b8c2a38470bd7f3217.tar.bz2 |
Clean up setting address and section offset.
Diffstat (limited to 'gold/merge.cc')
-rw-r--r-- | gold/merge.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/merge.cc b/gold/merge.cc index d8648d6..726a972 100644 --- a/gold/merge.cc +++ b/gold/merge.cc @@ -428,7 +428,7 @@ Output_merge_data::do_add_input_section(Relobj* object, unsigned int shndx) // constants. void -Output_merge_data::do_set_address(uint64_t, off_t) +Output_merge_data::set_final_data_size() { // Release the memory we don't need. this->p_ = static_cast<unsigned char*>(realloc(this->p_, this->len_)); @@ -502,7 +502,7 @@ Output_merge_string<Char_type>::do_add_input_section(Relobj* object, template<typename Char_type> void -Output_merge_string<Char_type>::do_set_address(uint64_t, off_t) +Output_merge_string<Char_type>::set_final_data_size() { this->stringpool_.set_string_offsets(); |