This is the mail archive of the gcc-patches@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]

Re: PATCH: rs6000 sibling calls


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~


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