diff options
author | DJ Delorie <dj@redhat.com> | 2013-08-27 00:22:05 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2013-08-27 00:22:05 -0400 |
commit | 5aa1106101358c08d5f9654e601595484fc7bf52 (patch) | |
tree | 2b9ed88935ae0cc6ff331c8d264e8fe83dfad226 /gcc | |
parent | 33fbbb766cde302f16aca2208e25610c11484388 (diff) | |
download | gcc-5aa1106101358c08d5f9654e601595484fc7bf52.zip gcc-5aa1106101358c08d5f9654e601595484fc7bf52.tar.gz gcc-5aa1106101358c08d5f9654e601595484fc7bf52.tar.bz2 |
* config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.
From-SVN: r202016
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/djgpp.h | 11 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4324742..213b78c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 9c503ac..cc420d0 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) \ |