From acb1c4c499938d3bc00dacb1ca8179e4635f8a2b Mon Sep 17 00:00:00 2001 From: dj Date: Tue, 27 Aug 2013 04:22:05 +0000 Subject: [PATCH] * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202016 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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.11.4.GIT