summaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-19 18:32:28 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-09-19 18:32:28 +0000
commit9dfbd7e8c73e17966d50e76cb88f7400e30130ab (patch)
tree5039771fb1597ae4f5884e820a20835e5994b4c4 /gcc/config/pa
parentd027442d1709c02ff9ade1428ae971647d2687d4 (diff)
downloadgcc-9dfbd7e8c73e17966d50e76cb88f7400e30130ab.tar.gz
* config/pa/pa.c (pa_function_ok_for_sibcall): Remove special treatment
of TARGET_ELF32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227933 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/pa.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c
index a3dc17b2f35..44ad8853dfa 100644
--- a/gcc/config/pa/pa.c
+++ b/gcc/config/pa/pa.c
@@ -8510,14 +8510,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