Commit 29832164 by Eric Christopher Committed by Eric Christopher

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
parent ac6b57e5
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> 2004-10-07 Richard Sandiford <rsandifo@redhat.com>
PR target/17770 PR target/17770
......
...@@ -9413,7 +9413,7 @@ int ...@@ -9413,7 +9413,7 @@ int
sh_dwarf_calling_convention (tree func) sh_dwarf_calling_convention (tree func)
{ {
if (sh_attr_renesas_p (func)) if (sh_attr_renesas_p (func))
return DW_CC_renesas_sh; return DW_CC_GNU_renesas_sh;
return DW_CC_normal; return DW_CC_normal;
} }
...@@ -10095,7 +10095,7 @@ sh_init_cumulative_args (CUMULATIVE_ARGS * pcum, ...@@ -10095,7 +10095,7 @@ sh_init_cumulative_args (CUMULATIVE_ARGS * pcum,
pcum->prototype_p = FALSE; pcum->prototype_p = FALSE;
if (mode != VOIDmode) if (mode != VOIDmode)
{ {
pcum->call_cookie = pcum->call_cookie =
CALL_COOKIE_RET_TRAMP (TARGET_SHCOMPACT CALL_COOKIE_RET_TRAMP (TARGET_SHCOMPACT
&& GET_MODE_SIZE (mode) > 4 && GET_MODE_SIZE (mode) > 4
&& BASE_RETURN_VALUE_REG (mode) == FIRST_RET_REG); && BASE_RETURN_VALUE_REG (mode) == FIRST_RET_REG);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment