diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-01 05:08:59 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-01 05:08:59 +0000 |
commit | 8ff30ff667615cfff1615bd94ddc11c4efce521d (patch) | |
tree | c068b7bf095d7380d889d59915274cc18faad4a9 /gcc/hooks.c | |
parent | e7d4d902e645fd90b252fa5767999f46b0d186a8 (diff) | |
download | gcc-8ff30ff667615cfff1615bd94ddc11c4efce521d.tar.gz |
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: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88382 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 65224a4042a..9470a4d84c6 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -117,6 +117,12 @@ default_can_output_mi_thunk_no_vcall (tree a ATTRIBUTE_UNUSED, return c == 0; } +int +hook_int_tree_0 (tree a ATTRIBUTE_UNUSED) +{ + return 0; +} + /* ??? Used for comp_type_attributes, which ought to return bool. */ int hook_int_tree_tree_1 (tree a ATTRIBUTE_UNUSED, tree b ATTRIBUTE_UNUSED) @@ -245,4 +251,3 @@ hook_tree_tree_bool_null (tree t ATTRIBUTE_UNUSED, bool ignore ATTRIBUTE_UNUSED) { return NULL; } - |