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 preview] New target hooks


On Thu, Jul 31, 2003 at 12:23:46PM -0400, DJ Delorie wrote:
> Note that many of these have an extra parameter to pass the function
> decl (or type) through.  This is because I'm working on supporting
> cross-linking with renesas and non-renesas objects for sh-elf, and it
> needs to modify the function call abi on a per-function basis.

I really don't like these attributes being associated with the
function decl, rather than the function type.  We already have
this lossage on x86 and other platforms; it'd be a shame to
spread this farther.

I don't know how much effort it would be to fix this...


r~


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