summaryrefslogtreecommitdiff
path: root/gcc/config/i386/cygming.h
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-26 22:15:07 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2003-11-26 22:15:07 +0000
commitab4ad30aa8155f5e335a6e0fc965ac1357668fdc (patch)
tree5cc06884602baec21a1a7740781d21817a3ceea9 /gcc/config/i386/cygming.h
parentc04ba3c6dd5d01bb8e01cddb96bdad308bc8c212 (diff)
downloadgcc-ab4ad30aa8155f5e335a6e0fc965ac1357668fdc.tar.gz
* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS):
Declare function aliases as functions. Fix typo in 2003-10-24 entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/cygming.h')
-rw-r--r--gcc/config/i386/cygming.h4
1 files changed, 3 insertions, 1 deletions
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
-