diff options
author | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2009-12-02 18:14:22 +0000 |
---|---|---|
committer | Rafael Ávila de Espíndola <respindola@mozilla.com> | 2009-12-02 18:14:22 +0000 |
commit | 9c0ae74d4f8b06846a12154d50daf387b73e077c (patch) | |
tree | a62ecab5c8db1fee9aeef8faf90dae6f7310b439 /gold | |
parent | a09a0bfd0cf49d16d8e505c5c63c2a2bf2dce63b (diff) | |
download | gdb-9c0ae74d4f8b06846a12154d50daf387b73e077c.zip gdb-9c0ae74d4f8b06846a12154d50daf387b73e077c.tar.gz gdb-9c0ae74d4f8b06846a12154d50daf387b73e077c.tar.bz2 |
2009-12-02 Rafael Avila de Espindola <espindola@google.com>
* incremental.cc (Incremental_inputs_entry): Remove unused argument
from the get_* methods.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rw-r--r-- | gold/incremental.cc | 12 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index f727c5f..02c0554 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,10 @@ 2009-12-02 Rafael Avila de Espindola <espindola@google.com> + * incremental.cc (Incremental_inputs_entry): Remove unused argument + from the get_* methods. + +2009-12-02 Rafael Avila de Espindola <espindola@google.com> + * incremental-dump.cc (main): Check that the offeset of a script is 0. * incremental.cc (Incremental_inputs::sized_create_inputs_section_data): Write 0 for the data_offset of scripts. diff --git a/gold/incremental.cc b/gold/incremental.cc index e89372a..4af4ef3 100644 --- a/gold/incremental.cc +++ b/gold/incremental.cc @@ -129,27 +129,27 @@ class Incremental_inputs_entry static const int data_size = sizeof(Data_type); elfcpp::Elf_Word - get_filename_offset(elfcpp::Elf_Word v) + get_filename_offset() { return Convert<32, big_endian>::convert_host(this->p_->filename_offset); } elfcpp::Elf_Word - get_data_offset(elfcpp::Elf_Word v) + get_data_offset() { return Convert<32, big_endian>::convert_host(this->p_->data_offset); } elfcpp::Elf_Xword - get_timestamp_sec(elfcpp::Elf_Xword v) + get_timestamp_sec() { return Convert<64, big_endian>::convert_host(this->p_->timestamp_sec); } elfcpp::Elf_Word - get_timestamp_nsec(elfcpp::Elf_Word v) + get_timestamp_nsec() { return Convert<32, big_endian>::convert_host(this->p_->timestamp_nsec); } elfcpp::Elf_Word - get_input_type(elfcpp::Elf_Word v) + get_input_type() { return Convert<32, big_endian>::convert_host(this->p_->input_type); } elfcpp::Elf_Word - get_reserved(elfcpp::Elf_Word v) + get_reserved() { return Convert<32, big_endian>::convert_host(this->p_->reserved); } private: |