public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* msp430: fix function type declarations
@ 2016-02-04 22:54 DJ Delorie
  0 siblings, 0 replies; only message in thread
From: DJ Delorie @ 2016-02-04 22:54 UTC (permalink / raw)
  To: gcc-patches


Minor bug, fixed, committed.

	* config/msp430/msp430.c (msp430_start_function): Add function type.
 
 2016-02-04  Uros Bizjak  <ubizjak@gmail.com>
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";

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-04 22:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-04 22:54 msp430: fix function type declarations DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).