[Dwarf-discuss] DWARF Issue 050808.2&body=Re: <ahref=http://dwarf.freestandards.org/ShowIssue.php
Daniel Jacobowitz
drow
Thu Feb 23 20:49:42 GMT 2006
On Thu, Feb 23, 2006 at 11:45:07PM -0500, Daniel Berlin wrote:
> Which is why it's already confusing what the heck DW_TAG_entry_point is
> supposed to be used for (it probably should have been named
> DW_TAG_alternate_entry or something).
>
> It would be nice to have an example in the next standard for what
> exactly it *is* used for
Amen. It looks like someone's just added it everywhere subprograms
were mentioned.
> > This isn't appropriate because it would interfere with any other
> > DW_AT_calling_convention that applied to the main routine - for
> > instance, sh-elf-gcc with -mrenesas will mark main with
> > DW_CC_GNU_renesas_sh.
>
> I wasn't aware anyone had extended the cc attribute. There goes that
> idea.
We might want to use it for things like regparm and automatic SSE
usage, too.
--
Daniel Jacobowitz
CodeSourcery
More information about the Dwarf-discuss
mailing list