Adjust last patch--same ChangeLog entry, same e-mail.

This commit is contained in:
Ian Lance Taylor
2010-03-11 01:18:26 +00:00
parent b6848d3c09
commit 4c5193b7db
2 changed files with 3 additions and 5 deletions

View File

@@ -2788,7 +2788,6 @@ bool
Target_i386::do_is_call_to_non_split(const Symbol* sym, unsigned int) const
{
return (sym->type() == elfcpp::STT_FUNC
&& !this->is_defined_by_abi(sym)
&& !is_prefix_of("__i686.get_pc_thunk.", sym->name()));
}

View File

@@ -145,14 +145,13 @@ Target::do_make_output_section(const char* name, elfcpp::Elf_Word type,
return new Output_section(name, type, flags);
}
// Default for whether a reloc is a call to a non-split function is if
// the symbol is a function not defined by the ABI.
// Default for whether a reloc is a call to a non-split function is
// whether the symbol is a function.
bool
Target::do_is_call_to_non_split(const Symbol* sym, unsigned int) const
{
return (sym->type() == elfcpp::STT_FUNC
&& !this->is_defined_by_abi(sym));
return sym->type() == elfcpp::STT_FUNC;
}
// Default conversion for -fsplit-stack is to give an error.