comparison gcc/config/i386/mingw32.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
40 TYPE_PRECISION (intmax_type_node));\ 40 TYPE_PRECISION (intmax_type_node));\
41 if (TARGET_64BIT && ix86_abi == MS_ABI) \ 41 if (TARGET_64BIT && ix86_abi == MS_ABI) \
42 { \ 42 { \
43 builtin_define ("__MINGW64__"); \ 43 builtin_define ("__MINGW64__"); \
44 builtin_define_std ("WIN64"); \ 44 builtin_define_std ("WIN64"); \
45 builtin_define_std ("_WIN64"); \ 45 builtin_define ("_WIN64"); \
46 } \ 46 } \
47 } \ 47 } \
48 while (0) 48 while (0)
49 49
50 #undef SUB_LINK_ENTRY32 50 #undef SUB_LINK_ENTRY32
75 75
76 /* For Windows applications, include more libraries, but always include 76 /* For Windows applications, include more libraries, but always include
77 kernel32. */ 77 kernel32. */
78 #undef LIB_SPEC 78 #undef LIB_SPEC
79 #define LIB_SPEC "%{pg:-lgmon} %{mwindows:-lgdi32 -lcomdlg32} \ 79 #define LIB_SPEC "%{pg:-lgmon} %{mwindows:-lgdi32 -lcomdlg32} \
80 -luser32 -lkernel32 -ladvapi32 -lshell32" 80 -ladvapi32 -lshell32 -luser32 -lkernel32"
81 81
82 /* Weak symbols do not get resolved if using a Windows dll import lib. 82 /* Weak symbols do not get resolved if using a Windows dll import lib.
83 Make the unwind registration references strong undefs. */ 83 Make the unwind registration references strong undefs. */
84 #if DWARF2_UNWIND_INFO 84 #if DWARF2_UNWIND_INFO
85 /* DW2-unwind is just available for 32-bit mode. */ 85 /* DW2-unwind is just available for 32-bit mode. */
132 #define STANDARD_STARTFILE_PREFIX_1 "/mingw/lib/" 132 #define STANDARD_STARTFILE_PREFIX_1 "/mingw/lib/"
133 #endif 133 #endif
134 #ifndef STANDARD_STARTFILE_PREFIX_2 134 #ifndef STANDARD_STARTFILE_PREFIX_2
135 #define STANDARD_STARTFILE_PREFIX_2 "" 135 #define STANDARD_STARTFILE_PREFIX_2 ""
136 #endif 136 #endif
137
138 /* Put all *tf routines in libgcc. */
139 #undef LIBGCC2_HAS_TF_MODE
140 #define LIBGCC2_HAS_TF_MODE 1
141 #undef LIBGCC2_TF_CEXT
142 #define LIBGCC2_TF_CEXT q
143 #undef TF_SIZE
144 #define TF_SIZE 113
145 137
146 /* Output STRING, a string representing a filename, to FILE. 138 /* Output STRING, a string representing a filename, to FILE.
147 We canonicalize it to be in Unix format (backslashes are replaced 139 We canonicalize it to be in Unix format (backslashes are replaced
148 forward slashes. */ 140 forward slashes. */
149 #undef OUTPUT_QUOTED_STRING 141 #undef OUTPUT_QUOTED_STRING
229 #include <windows.h> 221 #include <windows.h>
230 #endif 222 #endif
231 223
232 /* For 64-bit Windows we can't use DW2 unwind info. Also for multilib 224 /* For 64-bit Windows we can't use DW2 unwind info. Also for multilib
233 builds we can't use it, too. */ 225 builds we can't use it, too. */
234 #if !TARGET_64BIT && !defined (TARGET_BI_ARCH) 226 #if !TARGET_64BIT_DEFAULT && !defined (TARGET_BI_ARCH)
235 #define MD_UNWIND_SUPPORT "config/i386/w32-unwind.h" 227 #define MD_UNWIND_SUPPORT "config/i386/w32-unwind.h"
236 #endif 228 #endif
237 229
238 /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygming. */ 230 /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygming. */
239 /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygwin. */ 231 /* This matches SHLIB_SONAME and SHLIB_SOVERSION in t-cygwin. */
243 #define LIBGCC_EH_EXTN "_sjlj" 235 #define LIBGCC_EH_EXTN "_sjlj"
244 #endif 236 #endif
245 #define LIBGCC_SONAME "libgcc_s" LIBGCC_EH_EXTN "-1.dll" 237 #define LIBGCC_SONAME "libgcc_s" LIBGCC_EH_EXTN "-1.dll"
246 238
247 /* We should find a way to not have to update this manually. */ 239 /* We should find a way to not have to update this manually. */
248 #define LIBGCJ_SONAME "libgcj" /*LIBGCC_EH_EXTN*/ "-11.dll" 240 #define LIBGCJ_SONAME "libgcj" /*LIBGCC_EH_EXTN*/ "-12.dll"
249 241