diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2004-10-01 05:08:59 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2004-10-01 05:08:59 +0000 |
commit | a1c496cb437080bd861ea5fed4220514e64c915e (patch) | |
tree | c068b7bf095d7380d889d59915274cc18faad4a9 /gcc/target-def.h | |
parent | 049bc4044531a146d278dd63ff0ad226c239424c (diff) | |
download | gcc-a1c496cb437080bd861ea5fed4220514e64c915e.zip gcc-a1c496cb437080bd861ea5fed4220514e64c915e.tar.gz gcc-a1c496cb437080bd861ea5fed4220514e64c915e.tar.bz2 |
dwarf2.h (dwarf_calling_convention): Add enum for renesas sh abi.
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.
From-SVN: r88382
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index e8262de..700d5db 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -379,6 +379,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_MD_ASM_CLOBBERS hook_tree_tree_identity +#define TARGET_DWARF_CALLING_CONVENTION hook_int_tree_0 + #define TARGET_PROMOTE_FUNCTION_ARGS hook_bool_tree_false #define TARGET_PROMOTE_FUNCTION_RETURN hook_bool_tree_false #define TARGET_PROMOTE_PROTOTYPES hook_bool_tree_false @@ -523,6 +525,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_DEFAULT_SHORT_ENUMS, \ TARGET_BUILTIN_SETJMP_FRAME_VALUE, \ TARGET_MD_ASM_CLOBBERS, \ + TARGET_DWARF_CALLING_CONVENTION, \ TARGET_CALLS, \ TARGET_CXX, \ TARGET_HAVE_NAMED_SECTIONS, \ |