From 39040bb911bc71e49f2a2dd951f8af1b44e562d7 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Sun, 13 Dec 2015 14:04:24 -0800 Subject: Remove const from return type of get_output_view. gold/ * object.h (Object::get_output_view): remove const from return type. (Object::do_get_output_view): Likewise. (Sized_relobj_file::do_get_output_view): Likewise. * reloc.cc (Sized_relobj_file::do_get_output_view): Likewise. --- gold/reloc.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gold/reloc.cc') diff --git a/gold/reloc.cc b/gold/reloc.cc index c0c06c5..0b45514 100644 --- a/gold/reloc.cc +++ b/gold/reloc.cc @@ -1061,7 +1061,7 @@ Sized_relobj_file::do_relocate_sections( // Return the output view for section SHNDX. template -const unsigned char* +unsigned char* Sized_relobj_file::do_get_output_view( unsigned int shndx, section_size_type* plen) const @@ -1775,7 +1775,7 @@ Sized_relobj_file<32, false>::do_relocate_sections( Views* pviews); template -const unsigned char* +unsigned char* Sized_relobj_file<32, false>::do_get_output_view( unsigned int shndx, section_size_type* plen) const; @@ -1792,7 +1792,7 @@ Sized_relobj_file<32, true>::do_relocate_sections( Views* pviews); template -const unsigned char* +unsigned char* Sized_relobj_file<32, true>::do_get_output_view( unsigned int shndx, section_size_type* plen) const; @@ -1809,7 +1809,7 @@ Sized_relobj_file<64, false>::do_relocate_sections( Views* pviews); template -const unsigned char* +unsigned char* Sized_relobj_file<64, false>::do_get_output_view( unsigned int shndx, section_size_type* plen) const; @@ -1826,7 +1826,7 @@ Sized_relobj_file<64, true>::do_relocate_sections( Views* pviews); template -const unsigned char* +unsigned char* Sized_relobj_file<64, true>::do_get_output_view( unsigned int shndx, section_size_type* plen) const; -- cgit v1.1