aboutsummaryrefslogtreecommitdiff
path: root/gold/target.cc
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-10-11 22:02:21 +0000
committerRoland McGrath <roland@gnu.org>2013-10-11 22:02:21 +0000
commitcc84c10bfe2f4661a1485a5c79aec6dfb1d4e270 (patch)
treea2e826da0e597a8ac28d9e941cb50056a788578a /gold/target.cc
parent52f66a2c4d1200cac1e57c1a38f95c8485e9a72d (diff)
downloadfsf-binutils-gdb-cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270.zip
fsf-binutils-gdb-cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270.tar.gz
fsf-binutils-gdb-cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270.tar.bz2
gold/
* target.h (Target::adjust_elf_header, Target::do_adjust_elf_header): Remove const from declaration. * target.cc (Sized_target::do_adjust_elf_header): Update definition. * sparc.cc (Target_sparc::do_adjust_elf_header): Likewise. * output.h (Output_file_header): Remove const from member target_ and corresponding constructor argument. * output.cc (Output_file_header::Output_file_header): Update prototype. (Output_file_header::do_sized_write): Use this->target_ in place of parameters()->target().
Diffstat (limited to 'gold/target.cc')
-rw-r--r--gold/target.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/target.cc b/gold/target.cc
index cc508c5..cad3c95 100644
--- a/gold/target.cc
+++ b/gold/target.cc
@@ -1,6 +1,6 @@
// target.cc -- target support for gold.
-// Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
+// Copyright 2009, 2010, 2011, 2013 Free Software Foundation, Inc.
// Written by Doug Kwan <dougkwan@google.com>.
// This file is part of gold.
@@ -219,7 +219,7 @@ Target::do_plt_fde_location(const Output_data* plt, unsigned char*,
template<int size, bool big_endian>
void
Sized_target<size, big_endian>::do_adjust_elf_header(unsigned char* view,
- int len) const
+ int len)
{
elfcpp::ELFOSABI osabi = this->osabi();
if (osabi != elfcpp::ELFOSABI_NONE)