diff options
author | Ian Lance Taylor <ian@airs.com> | 2010-03-11 01:18:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2010-03-11 01:18:26 +0000 |
commit | 4c5193b7db75e1576d1da1ea8b5dfff29054e75e (patch) | |
tree | 692945536b543b2d6a554ec060c74bd402c128d9 /gold | |
parent | b6848d3c09394cfc3ce9efd4847e1e33a43d51dd (diff) | |
download | gdb-4c5193b7db75e1576d1da1ea8b5dfff29054e75e.zip gdb-4c5193b7db75e1576d1da1ea8b5dfff29054e75e.tar.gz gdb-4c5193b7db75e1576d1da1ea8b5dfff29054e75e.tar.bz2 |
Adjust last patch--same ChangeLog entry, same e-mail.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/i386.cc | 1 | ||||
-rw-r--r-- | gold/target.cc | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/gold/i386.cc b/gold/i386.cc index 822cc7c..1776383 100644 --- a/gold/i386.cc +++ b/gold/i386.cc @@ -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())); } diff --git a/gold/target.cc b/gold/target.cc index e774f63..776c50a 100644 --- a/gold/target.cc +++ b/gold/target.cc @@ -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. |