* config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.
authorDJ Delorie <dj@redhat.com>
Tue, 27 Aug 2013 04:22:05 +0000 (00:22 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Tue, 27 Aug 2013 04:22:05 +0000 (00:22 -0400)
From-SVN: r202016

gcc/ChangeLog
gcc/config/i386/djgpp.h

index 4324742c35ebfcb4a499d7f83e5d6d4a8f2a6cec..213b78c2422a2c5fa7a6d33c82f640401fa46c51 100644 (file)
@@ -1,3 +1,7 @@
+2013-08-27  DJ Delorie  <dj@redhat.com>
+
+       * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.
+
 2013-08-27  Yufeng Zhang  <yufeng.zhang@arm.com>
 
        * function.c (assign_parm_find_data_types): Set passed_mode and
index 9c503ac58b548ca166e0d3a3367e6b5a0ba9312e..cc420d0a6d6f2dec47d22609ac871aafe98ead08 100644 (file)
@@ -117,6 +117,17 @@ along with GCC; see the file COPYING3.  If not see
 #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) \