sh.c (sh_dwarf_calling_convention): Fix renesas dwarf attribute.
authorEric Christopher <echristo@redhat.com>
Thu, 7 Oct 2004 06:48:22 +0000 (06:48 +0000)
committerEric Christopher <echristo@gcc.gnu.org>
Thu, 7 Oct 2004 06:48:22 +0000 (06:48 +0000)
2004-10-06  Eric Christopher  <echristo@redhat.com>

* config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf
attribute.

From-SVN: r88671

gcc/ChangeLog
gcc/config/sh/sh.c

index 22a410aec5fb32f59cfd58d6d48d086d383c5dfe..783f8e733a50a59747f6c534d51d4153b6454bd8 100644 (file)
@@ -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
index 349d981ccc98a18e46e65ca52678e1cb8c2a393f..d88e159bd1f66256f9ba7cc43e8428999ca86e86 100644 (file)
@@ -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);