This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch preview] New target hooks
- From: Richard Henderson <rth at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Jul 2003 15:24:57 -0700
- Subject: Re: [patch preview] New target hooks
- References: <200307311623.h6VGNk322790@greed.delorie.com>
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~