* config/msp430/msp430.c (msp430_start_function): Add function type.
authorDJ Delorie <dj@redhat.com>
Thu, 4 Feb 2016 22:54:30 +0000 (17:54 -0500)
committerDJ Delorie <dj@gcc.gnu.org>
Thu, 4 Feb 2016 22:54:30 +0000 (17:54 -0500)
From-SVN: r233157

gcc/ChangeLog
gcc/config/msp430/msp430.c

index edfdf55..17e4f49 100644 (file)
@@ -1,3 +1,7 @@
+2016-02-04  DJ Delorie  <dj@redhat.com>
+
+       * config/msp430/msp430.c (msp430_start_function): Add function type.
+
 2016-02-04  Jakub Jelinek  <jakub@redhat.com>
 
        PR fortran/69368
index 182ca59..52be815 100644 (file)
@@ -2111,6 +2111,7 @@ msp430_start_function (FILE *file, const char *name, tree decl)
     }
 
   switch_to_section (function_section (decl));
+  ASM_OUTPUT_TYPE_DIRECTIVE(file, name, "function");
   ASM_OUTPUT_FUNCTION_LABEL (file, name, decl);
 }