forked from Imagelibrary/binutils-gdb
gold: Add view and view_size parameters to is_call_to_non_split.
This is needed by s390 split-stack support, to distinguish call and load-address relocations. gold/ChangeLog: * i386.cc (Target_i386::is_call_to_non_split): Add view and view_size parameters. * reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Pass view and view_size to is_call_to_non_split. * target.cc (Target::is_call_to_non_split): Add view and view_size parameters. * target.h (class Target): Likewise.
This commit is contained in:
@@ -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, const unsigned char*) 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user