This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: rs6000 sibling calls
- From: Richard Henderson <rth at redhat dot com>
- To: Dale Johannesen <dalej at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 Aug 2002 14:09:45 -0700
- Subject: Re: PATCH: rs6000 sibling calls
- References: <5998DB6E-AA51-11D6-846A-003065C86F94@apple.com>
On Wed, Aug 07, 2002 at 03:02:22PM -0700, Dale Johannesen wrote:
> + if (DEFAULT_ABI == ABI_DARWIN
> + || TREE_ASM_WRITTEN (fndecl) || !TREE_PUBLIC (fndecl))
> + return 1;
[...]
> + return (DEFAULT_ABI == ABI_V4 && flag_pic) ? \"b %z0@local\" : \"b %z0\";
The @local means that you cannot generate a sibcall to a function
for which targetm.binds_local_p is false.
r~