]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa.c (pa_function_ok_for_sibcall): Remove special treatment of TARGET_ELF32.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sat, 19 Sep 2015 18:36:19 +0000 (18:36 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 19 Sep 2015 18:36:19 +0000 (18:36 +0000)
* config/pa/pa.c (pa_function_ok_for_sibcall): Remove special treatment
of TARGET_ELF32.

From-SVN: r227935

gcc/ChangeLog
gcc/config/pa/pa.c

index 1281413cae735128785adca54ecd36bbfc4ae967..c9caa9f94c07c910b8817e611b05ee8d7744e71c 100644 (file)
@@ -1,3 +1,8 @@
+2015-09-19  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.c (pa_function_ok_for_sibcall): Remove special treatment
+       of TARGET_ELF32.
+
 2015-09-18  John David Anglin  <danglin@gcc.gnu.org>
 
        PR middle-end/67401
index 1d67768f796c2ed5b616cf0e260e1969abaae4d8..c2f03a178bc3da786734e269e6c0897cc4d3911b 100644 (file)
@@ -8550,14 +8550,6 @@ pa_function_ok_for_sibcall (tree decl, tree exp ATTRIBUTE_UNUSED)
   if (TARGET_PORTABLE_RUNTIME)
     return false;
 
-  /* Sibcalls are ok for TARGET_ELF32 as along as the linker is used in
-     single subspace mode and the call is not indirect.  As far as I know,
-     there is no operating system support for the multiple subspace mode.
-     It might be possible to support indirect calls if we didn't use
-     $$dyncall (see the indirect sequence generated in pa_output_call).  */
-  if (TARGET_ELF32)
-    return (decl != NULL_TREE);
-
   /* Sibcalls are not ok because the arg pointer register is not a fixed
      register.  This prevents the sibcall optimization from occurring.  In
      addition, there are problems with stub placement using GNU ld.  This