Pass relocations to Target::do_calls_non_split.

gold/
	* target.h (Target::calls_non_split): Add prelocs, reloc_count
	parameters.
	(Target::do_calls_non_split): Likewise.
	* target.cc (Target::do_calls_non_split): Likewise.
	* reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Adjust
	call to Target::calls_non_split.

	* i386.cc (Target_i386::do_calls_non_split): Add prelocs, reloc_count
	parameters.
	* powerpc.cc (Target_powerpc::do_calls_non_split): Likewise.
	* x86_64.cc (Target_x86_64::do_calls_non_split): Likewise.
This commit is contained in:
Cary Coutant 2015-12-11 14:20:41 -08:00
parent 6b2353a53a
commit 6e0813d359
7 changed files with 32 additions and 4 deletions

View file

@ -161,7 +161,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;