2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-25 07:00:35 +08:00

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
This commit is contained in:
Eric Christopher 2004-10-07 06:48:22 +00:00 committed by Eric Christopher
parent ac6b57e5ec
commit 298321642a
2 changed files with 7 additions and 2 deletions
gcc
ChangeLog
config/sh

@ -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

@ -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);