sim: allow the assert configure option everywhere
[binutils-gdb.git] / gold / reloc.cc
index c0c06c5ce6fe72d9ce9e0396908b3c883c46fde9..3354019e713168b49effff5bf11778232746282f 100644 (file)
@@ -1,6 +1,6 @@
 // reloc.cc -- relocate input files for gold.
 
-// Copyright (C) 2006-2015 Free Software Foundation, Inc.
+// Copyright (C) 2006-2016 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -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;