This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
rs6000 sibcall test
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 6 Sep 2002 17:03:54 +0930
- Subject: rs6000 sibcall test
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? For starters, this test stops us doing sibcalls to
functions later in a file.
Note that the powerpc64-linux linker will do the right thing by
inserting appropriate call stubs when building shared libs, even on
the simple branch emitted by the sibcall code. There doesn't seem
to be any linkage problem..
--
Alan Modra
IBM OzLabs - Linux Technology Centre