aboutsummaryrefslogtreecommitdiff
path: root/gold/object.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2015-12-13 14:04:24 -0800
committerCary Coutant <ccoutant@gmail.com>2015-12-13 14:04:24 -0800
commit39040bb911bc71e49f2a2dd951f8af1b44e562d7 (patch)
tree3e6960ed71a5484316dd3f3101cc5a7c87044696 /gold/object.h
parent67dd2c2073b194f68b10f9d53c70132fc385d437 (diff)
downloadgdb-39040bb911bc71e49f2a2dd951f8af1b44e562d7.zip
gdb-39040bb911bc71e49f2a2dd951f8af1b44e562d7.tar.gz
gdb-39040bb911bc71e49f2a2dd951f8af1b44e562d7.tar.bz2
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.
Diffstat (limited to 'gold/object.h')
-rw-r--r--gold/object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gold/object.h b/gold/object.h
index 6cb82c7..a15509a 100644
--- a/gold/object.h
+++ b/gold/object.h
@@ -845,7 +845,7 @@ class Object
{ 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); }
@@ -1035,7 +1035,7 @@ class Object
{ 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(); }
@@ -2574,7 +2574,7 @@ class Sized_relobj_file : public Sized_relobj<size, big_endian>
{ 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: