aboutsummaryrefslogtreecommitdiff
path: root/gold/reloc.cc
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/reloc.cc
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/reloc.cc')
-rw-r--r--gold/reloc.cc10
1 files changed, 5 insertions, 5 deletions
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<size, big_endian>::do_relocate_sections(
// 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
@@ -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;