From cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 11 Oct 2013 22:02:21 +0000 Subject: gold/ * target.h (Target::adjust_elf_header, Target::do_adjust_elf_header): Remove const from declaration. * target.cc (Sized_target::do_adjust_elf_header): Update definition. * sparc.cc (Target_sparc::do_adjust_elf_header): Likewise. * output.h (Output_file_header): Remove const from member target_ and corresponding constructor argument. * output.cc (Output_file_header::Output_file_header): Update prototype. (Output_file_header::do_sized_write): Use this->target_ in place of parameters()->target(). --- gold/output.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gold/output.h') diff --git a/gold/output.h b/gold/output.h index f5a7299..a689a44 100644 --- a/gold/output.h +++ b/gold/output.h @@ -573,7 +573,7 @@ class Output_segment_headers : public Output_data class Output_file_header : public Output_data { public: - Output_file_header(const Target*, + Output_file_header(Target*, const Symbol_table*, const Output_segment_headers*); @@ -617,7 +617,7 @@ class Output_file_header : public Output_data off_t do_size() const; - const Target* target_; + Target* target_; const Symbol_table* symtab_; const Output_segment_headers* segment_header_; const Output_section_headers* section_header_; -- cgit v1.1