From: DJ Delorie Date: Tue, 27 Aug 2013 04:22:05 +0000 (-0400) Subject: * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5aa1106101358c08d5f9654e601595484fc7bf52;p=gcc.git * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New. From-SVN: r202016 --- 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) \