This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] convert some call ABI macros to hooks, apply to sh, add bitfield swapper
> It's the rtx passed as operand 2 to a call instruction, and as operand
> 3 to a call_value instruction. It's what FUNCTION_ARG should return
> when given a VOIDmode argument, marking the end of the argument list.
> See the 6th paragraph in the FUNCTION_ARG documentation. It's often a
> CONST_INT, but it doesn't have to be; any rtx would do. I'm thinking
> of (const_int 0) for GCC ABI, and (const_int 1) for the Renesas ABI.
> Note that SHcompact already uses this cookie for something else, so
> you'd have to be careful to not change that. We're not concerned
> about the Renesas ABI in SH5, since GCC does follow the SH5 ABI
> AFAIK.
Why would we need this?