From: John David Anglin Date: Sat, 19 Sep 2015 18:36:19 +0000 (+0000) Subject: pa.c (pa_function_ok_for_sibcall): Remove special treatment of TARGET_ELF32. X-Git-Tag: releases/gcc-4.9.4~595 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d35c2c08f0164e3dcce5ac5b89f3298d9ad52dab;p=thirdparty%2Fgcc.git pa.c (pa_function_ok_for_sibcall): Remove special treatment of TARGET_ELF32. * config/pa/pa.c (pa_function_ok_for_sibcall): Remove special treatment of TARGET_ELF32. From-SVN: r227935 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1281413cae73..c9caa9f94c07 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-19 John David Anglin + + * config/pa/pa.c (pa_function_ok_for_sibcall): Remove special treatment + of TARGET_ELF32. + 2015-09-18 John David Anglin PR middle-end/67401 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 1d67768f796c..c2f03a178bc3 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -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