diff options
author | Ian Lance Taylor <iant@google.com> | 2006-12-06 00:02:36 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2006-12-06 00:02:36 +0000 |
commit | 14b317405813ed4aaf59235b5bfaf4f8decf1ad0 (patch) | |
tree | b86d42fb9224a280f365b1bc2ab2282cc08cdc42 /gold/output.h | |
parent | f8f183f633bed2957d8388ba9594d249d5b0ebb9 (diff) | |
download | gdb-14b317405813ed4aaf59235b5bfaf4f8decf1ad0.zip gdb-14b317405813ed4aaf59235b5bfaf4f8decf1ad0.tar.gz gdb-14b317405813ed4aaf59235b5bfaf4f8decf1ad0.tar.bz2 |
Generate version information.
Diffstat (limited to 'gold/output.h')
-rw-r--r-- | gold/output.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/output.h b/gold/output.h index ceea877..013a19f 100644 --- a/gold/output.h +++ b/gold/output.h @@ -1165,7 +1165,7 @@ class Output_section : public Output_data // Set the link field to the output section index of a section. void - set_link_section(Output_data* od) + set_link_section(const Output_data* od) { gold_assert(this->link_ == 0 && !this->should_link_to_symtab_ @@ -1213,7 +1213,7 @@ class Output_section : public Output_data // Set the info field to the output section index of a section. void - set_info_section(Output_data* od) + set_info_section(const Output_data* od) { gold_assert(this->info_ == 0); this->info_section_ = od; @@ -1417,11 +1417,11 @@ class Output_section : public Output_data uint64_t entsize_; // The file offset is in the parent class. // Set the section link field to the index of this section. - Output_data* link_section_; + const Output_data* link_section_; // If link_section_ is NULL, this is the link field. unsigned int link_; // Set the section info field to the index of this section. - Output_data* info_section_; + const Output_data* info_section_; // If info_section_ is NULL, this is the section info field. unsigned int info_; // The section type. |