summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/cygming.h4
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0aa3e29ad04..7c9c3846746 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-26 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Declare
+ function aliases as functions.
+
2003-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
* aclocal.m4 (gcc_AC_PROG_GNAT): Rewrite to account for removal
@@ -2239,7 +2244,7 @@
2003-10-24 Danny Smith <dannysmith@users.sourceforge.net>
- * config/i386/cygwin.asm. Add copyright notice. Add comment
+ * config/i386/cygwin.asm: Add copyright notice. Add comment
on why this code is needed.
2003-10-23 Kazu Hirata <kazu@cs.umass.edu>
diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h
index 8ed30443bc8..99b037233da 100644
--- a/gcc/config/i386/cygming.h
+++ b/gcc/config/i386/cygming.h
@@ -376,6 +376,9 @@ extern int i386_pe_dllimport_name_p (const char *);
alias = XSTR (rtlname, 0); \
else \
abort (); \
+ if (TREE_CODE (DECL) == FUNCTION_DECL) \
+ i386_pe_declare_function_type (STREAM, alias, \
+ TREE_PUBLIC (DECL)); \
ASM_OUTPUT_DEF (STREAM, alias, IDENTIFIER_POINTER (TARGET)); \
} while (0)
@@ -384,4 +387,3 @@ extern int i386_pe_dllimport_name_p (const char *);
#ifndef BUFSIZ
# undef FILE
#endif
-
OpenPOWER on IntegriCloud