From 298321642abf4cd9023e6a2a7481835feef34d95 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 7 Oct 2004 06:48:22 +0000 Subject: [PATCH] sh.c (sh_dwarf_calling_convention): Fix renesas dwarf attribute. 2004-10-06 Eric Christopher * config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf attribute. From-SVN: r88671 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 22a410a..783f8e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-06 Eric Christopher + + * config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf + attribute. + 2004-10-07 Richard Sandiford PR target/17770 diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index 349d981..d88e159 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -9413,7 +9413,7 @@ int sh_dwarf_calling_convention (tree func) { if (sh_attr_renesas_p (func)) - return DW_CC_renesas_sh; + return DW_CC_GNU_renesas_sh; return DW_CC_normal; } @@ -10095,7 +10095,7 @@ sh_init_cumulative_args (CUMULATIVE_ARGS * pcum, pcum->prototype_p = FALSE; if (mode != VOIDmode) { - pcum->call_cookie = + pcum->call_cookie = CALL_COOKIE_RET_TRAMP (TARGET_SHCOMPACT && GET_MODE_SIZE (mode) > 4 && BASE_RETURN_VALUE_REG (mode) == FIRST_RET_REG); -- 2.7.4