diff mbox

[patch/djgpp] : Add ASM_DECLARE_FUNCTION_NAME

Message ID 201308270422.r7R4MAKi029102@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie Aug. 27, 2013, 4:22 a.m. UTC
Needed to build i586-pc-msdosdjgpp target, committed.

	* config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.
diff mbox

Patch

Index: config/i386/djgpp.h
===================================================================
--- config/i386/djgpp.h	(revision 202015)
+++ config/i386/djgpp.h	(working copy)
@@ -117,6 +117,17 @@ 
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
   asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN))
 
+/* Write the extra assembler code needed to declare a function properly.  */
+
+#ifndef ASM_DECLARE_FUNCTION_NAME
+#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL)		\
+  do								\
+    {								\
+      ASM_OUTPUT_FUNCTION_LABEL (FILE, NAME, DECL);		\
+    }								\
+  while (0)
+#endif
+
 /* This is how to tell assembler that a symbol is weak  */ 
 #undef ASM_WEAKEN_LABEL
 #define ASM_WEAKEN_LABEL(FILE,NAME) \