summaryrefslogtreecommitdiff
path: root/gcc/targhooks.c
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-01 05:08:59 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-01 05:08:59 +0000
commit8ff30ff667615cfff1615bd94ddc11c4efce521d (patch)
treec068b7bf095d7380d889d59915274cc18faad4a9 /gcc/targhooks.c
parente7d4d902e645fd90b252fa5767999f46b0d186a8 (diff)
downloadgcc-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/targhooks.c')
-rw-r--r--gcc/targhooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 3bf938c1828..852421cb9e3 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -129,7 +129,7 @@ default_pretend_outgoing_varargs_named (CUMULATIVE_ARGS *ca ATTRIBUTE_UNUSED)
!= default_setup_incoming_varargs);
}
-enum machine_mode
+enum machine_mode
default_eh_return_filter_mode (void)
{
return word_mode;
@@ -173,7 +173,7 @@ default_cxx_get_cookie_size (tree type)
(true_type)) bytes. */
tree sizetype_size;
tree type_align;
-
+
sizetype_size = size_in_bytes (sizetype);
type_align = size_int (TYPE_ALIGN_UNIT (type));
if (INT_CST_LT_UNSIGNED (type_align, sizetype_size))