aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2004-10-01 05:08:59 +0000
committerEric Christopher <echristo@redhat.com>2004-10-01 05:08:59 +0000
commit948132376369b0bc1b3d8467340d02a0b2e2302e (patch)
treec068b7bf095d7380d889d59915274cc18faad4a9 /gcc/dwarf2.h
parenteee0fa826c1812a45d68668444993ae678d10b93 (diff)
2004-09-30 Eric Christopher <echristo@redhat.com>
* dwarf2.h (dwarf_calling_convention): Add enum for renesas sh abi. * dwarf2out.c (add_calling_convention_attribute): New function. (gen_subroutine_type_die): Use. * target-def.h (TARGET_DWARF_CALLING_CONVENTION): New hook. * target.h (gcc_target): Add dwarf_calling_convention. * hooks.c (hook_int_tree_0): New function. * hooks.h: Prototype. * config/sh/sh.c: Include dwarf2.h. (sh_dwarf_calling_convention): New function. (TARGET_DWARF_CALLING_CONVENTION): Use. * doc/tm.texi (TARGET_DWARF_CALLING_CONVENTION): Document. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88382 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarf2.h')
-rw-r--r--gcc/dwarf2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/dwarf2.h b/gcc/dwarf2.h
index 0e98a455fab..111ff522fe3 100644
--- a/gcc/dwarf2.h
+++ b/gcc/dwarf2.h
@@ -474,7 +474,8 @@ enum dwarf_calling_convention
{
DW_CC_normal = 0x1,
DW_CC_program = 0x2,
- DW_CC_nocall = 0x3
+ DW_CC_nocall = 0x3,
+ DW_CC_renesas_sh = 0x40
};
#define DW_CC_lo_user 0x40