// object.h -- support for an object file for linking in gold -*- C++ -*-
-// 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.
{ 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:
unsigned int sh_type, unsigned int shndx,
const unsigned char* prelocs, size_t reloc_count,
unsigned char* view, section_size_type view_size,
- Reloc_symbol_changes** reloc_map);
+ Reloc_symbol_changes** reloc_map,
+ const Sized_target<size, big_endian>* target);
template<int sh_type>
void
unsigned int shndx, const unsigned char* prelocs,
size_t reloc_count, unsigned char* view,
section_size_type view_size,
- Reloc_symbol_changes** reloc_map);
+ Reloc_symbol_changes** reloc_map,
+ const Sized_target<size, big_endian>* target);
// Find all functions in a section.
void