+2015-12-13 Cary Coutant <ccoutant@gmail.com>
+
+ * 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.
+
2015-12-11 Cary Coutant <ccoutant@gmail.com>
* target.h (Target::calls_non_split): Add prelocs, reloc_count
{ return this->do_get_incremental_reloc_count(symndx); }
// Return the output view for section SHNDX.
- const unsigned char*
+ unsigned char*
get_output_view(unsigned int shndx, section_size_type* plen) const
{ return this->do_get_output_view(shndx, plen); }
{ gold_unreachable(); }
// Return the output view for a section.
- virtual const unsigned char*
+ virtual unsigned char*
do_get_output_view(unsigned int, section_size_type*) const
{ gold_unreachable(); }
{ this->output_local_symbol_count_ = value; }
// Return the output view for a section.
- const unsigned char*
+ unsigned char*
do_get_output_view(unsigned int, section_size_type*) const;
private:
// Return the output view for section SHNDX.
template<int size, bool big_endian>
-const unsigned char*
+unsigned char*
Sized_relobj_file<size, big_endian>::do_get_output_view(
unsigned int shndx,
section_size_type* plen) const
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;
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;
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;
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;