X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gold%2Ftarget.cc;h=17c85a0ae5438a450fefbe9be4a85c66f47a976c;hb=5dd8bf886a3f7535e0ad8b5218275efcf2cfff31;hp=cad3c95f0f58b7a974729bdf3a5fc2a798b930ec;hpb=cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/target.cc b/gold/target.cc index cad3c95f0f..17c85a0ae5 100644 --- a/gold/target.cc +++ b/gold/target.cc @@ -1,6 +1,6 @@ // target.cc -- target support for gold. -// Copyright 2009, 2010, 2011, 2013 Free Software Foundation, Inc. +// Copyright (C) 2009-2019 Free Software Foundation, Inc. // Written by Doug Kwan . // This file is part of gold. @@ -152,7 +152,8 @@ Target::do_make_output_section(const char* name, elfcpp::Elf_Word type, // whether the symbol is a function. bool -Target::do_is_call_to_non_split(const Symbol* sym, unsigned int) const +Target::do_is_call_to_non_split(const Symbol* sym, const unsigned char*, + const unsigned char*, section_size_type) const { return sym->type() == elfcpp::STT_FUNC; } @@ -161,7 +162,8 @@ Target::do_is_call_to_non_split(const Symbol* sym, unsigned int) const void Target::do_calls_non_split(Relobj* object, unsigned int, section_offset_type, - section_size_type, unsigned char*, section_size_type, + section_size_type, const unsigned char*, size_t, + unsigned char*, section_size_type, std::string*, std::string*) const { static bool warned;