From 5aa1106101358c08d5f9654e601595484fc7bf52 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 27 Aug 2013 00:22:05 -0400 Subject: [PATCH] * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New. From-SVN: r202016 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/djgpp.h | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4324742c35e..213b78c2422 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-08-27 DJ Delorie + + * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New. + 2013-08-27 Yufeng Zhang * function.c (assign_parm_find_data_types): Set passed_mode and diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 9c503ac58b5..cc420d0a6d6 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -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) \ -- 2.30.2