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] RFA add dwarf calling convention support


On Thu, 30 Sep 2004 16:56:58 -0700, Eric Christopher <echristo@redhat.com> wrote:

> +    DW_CC_renesas_sh = 0x40

This is properly in the extension number space, but needs a "GNU" in it to
make it clear that this is a GNU extension.

> +  /* Only add the attribute if the backend requests it.  */
> +  if (value)
> +    add_AT_unsigned (subr_die, DW_AT_calling_convention, value);

Since the absence of this attribute means DW_CC_normal, we can save a
little space by omitting it if the value is DW_CC_normal.

Jason


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