diff options
Diffstat (limited to 'gold/ehframe.h')
-rw-r--r-- | gold/ehframe.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gold/ehframe.h b/gold/ehframe.h index 47e3e4c..4726ffc 100644 --- a/gold/ehframe.h +++ b/gold/ehframe.h @@ -67,6 +67,7 @@ class Eh_frame_hdr : public Output_section_data this->fde_offsets_.push_back(std::make_pair(fde_offset, fde_encoding)); } + protected: // Set the final data size. void set_final_data_size(); @@ -75,6 +76,11 @@ class Eh_frame_hdr : public Output_section_data void do_write(Output_file*); + // Write to a map file. + void + do_print_to_mapfile(Mapfile* mapfile) const + { mapfile->print_output_data(this, _("** eh_frame_hdr")); } + private: // Write the data to the file with the right endianness. template<int size, bool big_endian> @@ -322,6 +328,7 @@ class Eh_frame : public Output_section_data unsigned int fde_count() const; + protected: // Set the final data size. void set_final_data_size(); @@ -340,6 +347,11 @@ class Eh_frame : public Output_section_data void do_write(Output_file*); + // Write to a map file. + void + do_print_to_mapfile(Mapfile* mapfile) const + { mapfile->print_output_data(this, _("** eh_frame")); } + private: // The comparison routine for the CIE map. struct Cie_less |