Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/mingw-w64.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
37 | 37 |
38 #undef ASM_SPEC | 38 #undef ASM_SPEC |
39 #define ASM_SPEC "%{v:-v} %{n} %{T} %{Ym,*} %{Yd,*} \ | 39 #define ASM_SPEC "%{v:-v} %{n} %{T} %{Ym,*} %{Yd,*} \ |
40 %{Wa,*:%*} %{m32:--32} %{m64:--64}" | 40 %{Wa,*:%*} %{m32:--32} %{m64:--64}" |
41 | 41 |
42 #undef SPEC_32 | |
43 #undef SPEC_64 | |
42 #if TARGET_64BIT_DEFAULT | 44 #if TARGET_64BIT_DEFAULT |
43 #define SPEC_32 "m32" | 45 #define SPEC_32 "m32" |
44 #define SPEC_64 "!m32" | 46 #define SPEC_64 "!m32" |
45 #else | 47 #else |
46 #define SPEC_32 "!m64" | 48 #define SPEC_32 "!m64" |
47 #define SPEC_64 "m64" | 49 #define SPEC_64 "m64" |
48 #endif | 50 #endif |
49 | 51 |
52 #undef SUB_LINK_ENTRY32 | |
53 #undef SUB_LINK_ENTRY64 | |
54 #define SUB_LINK_ENTRY32 "-e _DllMainCRTStartup@12" | |
55 #if defined(USE_MINGW64_LEADING_UNDERSCORES) | |
56 #define SUB_LINK_ENTRY64 "-e _DllMainCRTStartup" | |
57 #else | |
58 #define SUB_LINK_ENTRY64 "-e DllMainCRTStartup" | |
59 #endif | |
60 | |
61 #undef SUB_LINK_SPEC | |
62 #undef SUB_LINK_ENTRY | |
50 #define SUB_LINK_SPEC "%{" SPEC_64 ":-m i386pep} %{" SPEC_32 ":-m i386pe}" | 63 #define SUB_LINK_SPEC "%{" SPEC_64 ":-m i386pep} %{" SPEC_32 ":-m i386pe}" |
64 #define SUB_LINK_ENTRY "%{" SPEC_64 ":" SUB_LINK_ENTRY64 "} %{" SPEC_32 ":" SUB_LINK_ENTRY32 "}" | |
51 | 65 |
66 #undef MULTILIB_DEFAULTS | |
52 #if TARGET_64BIT_DEFAULT | 67 #if TARGET_64BIT_DEFAULT |
53 #define MULTILIB_DEFAULTS { "m64" } | 68 #define MULTILIB_DEFAULTS { "m64" } |
54 #else | 69 #else |
55 #define MULTILIB_DEFAULTS { "m32" } | 70 #define MULTILIB_DEFAULTS { "m32" } |
56 #endif | 71 #endif |
59 #define LINK_SPEC SUB_LINK_SPEC " %{mwindows:--subsystem windows} \ | 74 #define LINK_SPEC SUB_LINK_SPEC " %{mwindows:--subsystem windows} \ |
60 %{mconsole:--subsystem console} \ | 75 %{mconsole:--subsystem console} \ |
61 %{shared: %{mdll: %eshared and mdll are not compatible}} \ | 76 %{shared: %{mdll: %eshared and mdll are not compatible}} \ |
62 %{shared: --shared} %{mdll:--dll} \ | 77 %{shared: --shared} %{mdll:--dll} \ |
63 %{static:-Bstatic} %{!static:-Bdynamic} \ | 78 %{static:-Bstatic} %{!static:-Bdynamic} \ |
64 %{shared|mdll: -e _DllMainCRTStartup@12 --enable-auto-image-base} \ | 79 %{shared|mdll: " SUB_LINK_ENTRY " --enable-auto-image-base} \ |
65 %(shared_libgcc_undefs)" | 80 %(shared_libgcc_undefs)" |