This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]