diff options
author | Eric Christopher <echristo@redhat.com> | 2004-10-07 06:48:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2004-10-07 06:48:22 +0000 |
commit | 298321642abf4cd9023e6a2a7481835feef34d95 (patch) | |
tree | ca908054ce8a0e756fa80a1c7012cb6f3d8d8e59 /gcc | |
parent | ac6b57e5ecd517915dad2816e7cd92b6f6aa38ab (diff) | |
download | gcc-298321642abf4cd9023e6a2a7481835feef34d95.zip gcc-298321642abf4cd9023e6a2a7481835feef34d95.tar.gz gcc-298321642abf4cd9023e6a2a7481835feef34d95.tar.bz2 |
sh.c (sh_dwarf_calling_convention): Fix renesas dwarf attribute.
2004-10-06 Eric Christopher <echristo@redhat.com>
* config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf
attribute.
From-SVN: r88671
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | 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 <echristo@redhat.com> + + * config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf + attribute. + 2004-10-07 Richard Sandiford <rsandifo@redhat.com> 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); |