msp430: fix function type declarations
diff mbox

Message ID 201602042254.u14MsaYD028036@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie Feb. 4, 2016, 10:54 p.m. UTC
Minor bug, fixed, committed.

	* config/msp430/msp430.c (msp430_start_function): Add function type.
 
 2016-02-04  Uros Bizjak  <ubizjak@gmail.com>

Patch
diff mbox

Index: config/msp430/msp430.c
===================================================================
--- config/msp430/msp430.c	(revision 233155)
+++ config/msp430/msp430.c	(working copy)
@@ -2108,12 +2108,13 @@  msp430_start_function (FILE *file, const
 	  fputc ('\n', file);
 	  fputc ('\t', file);
 	}
     }
 
   switch_to_section (function_section (decl));
+  ASM_OUTPUT_TYPE_DIRECTIVE(file, name, "function");
   ASM_OUTPUT_FUNCTION_LABEL (file, name, decl);
 }
 
 static const char * const lower_prefix = ".lower";
 static const char * const upper_prefix = ".upper";
 static const char * const either_prefix = ".either";