aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2013-08-27 00:22:05 -0400
committerDJ Delorie <dj@gcc.gnu.org>2013-08-27 00:22:05 -0400
commit5aa1106101358c08d5f9654e601595484fc7bf52 (patch)
tree2b9ed88935ae0cc6ff331c8d264e8fe83dfad226 /gcc/config
parent33fbbb766cde302f16aca2208e25610c11484388 (diff)
downloadgcc-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/config')
-rw-r--r--gcc/config/i386/djgpp.h11
1 files changed, 11 insertions, 0 deletions
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) \