Adjust last patch--same ChangeLog entry, same e-mail.
authorIan Lance Taylor <ian@airs.com>
Thu, 11 Mar 2010 01:18:26 +0000 (01:18 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 11 Mar 2010 01:18:26 +0000 (01:18 +0000)
gold/i386.cc
gold/target.cc

index 822cc7c341238e844b2ed25c847d3ddd2f98515d..1776383249f58ba2f90f371a74e3b26aa8d7b54c 100644 (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()));
 }
 
index e774f63cea338d5cb99d870b9b513a549b7b37c5..776c50afbc2b57a77364ae13dee002146b69795d 100644 (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.
This page took 0.026699 seconds and 4 git commands to generate.