This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: rs6000 sibcall test
On 06-Sep-2002, Alan Modra <amodra@bigpond.net.au> wrote:
> rs6000.c:function_ok_for_sibcall tests TREE_ASM_WRITTEN, like alpha.
> I can't see why, at least for powerpc64-linux. Can someone show me
> why it matters?
Perhaps because of the same kind of issue that prevents sibcalls
with -fpic on x86? On rs6000 with the AIX ABI, all code is
position-independent, so maybe there is the same issue.
But that's for the AIX ABI. Maybe it's not appropriate for Linux.
(I'm just guessing here!)
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.