PR/target 45452
authorKai Tietz <kai.tietz@onevision.com>
Wed, 1 Sep 2010 16:00:57 +0000 (16:00 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Wed, 1 Sep 2010 16:00:57 +0000 (18:00 +0200)
2010-09-01  Kai Tietz  <kai.tietz@onevision.com>

        PR/target 45452
        * config/i386/cygwin.h: Change order of specified import libraries.
        * config/i386/mingw32.h: Likewise.
        * config/i386/t-cygwin: Likewise.
        * config/i386/t-mingw32: Likewise.
        * config/i386/t-mingw-w32: Likewise.
        * config/i386/t-mingw-w64: Likewise.

From-SVN: r163738

gcc/ChangeLog
gcc/config/i386/cygwin.h
gcc/config/i386/mingw32.h
gcc/config/i386/t-cygwin
gcc/config/i386/t-mingw-w32
gcc/config/i386/t-mingw-w64
gcc/config/i386/t-mingw32

index 3017202840d3f07d95cea08730971f0ecde35eb8..4e79cd850a70210f44fd1fec68631a93aae89f04 100644 (file)
@@ -1,3 +1,13 @@
+2010-09-01  Kai Tietz  <kai.tietz@onevision.com>
+
+       PR/target 45452
+       * config/i386/cygwin.h: Change order of specified import libraries.
+       * config/i386/mingw32.h: Likewise.
+       * config/i386/t-cygwin: Likewise.
+       * config/i386/t-mingw32: Likewise.
+       * config/i386/t-mingw-w32: Likewise.
+       * config/i386/t-mingw-w64: Likewise.
+
 2010-09-01  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
        * config/arm/neon-schedgen.ml (core): New type.
index 8a637e80ae510a297563aea3711a6ced4109bbf5..a8d26e9558d20c1f02bd96b604d52047f8eeed99 100644 (file)
@@ -83,7 +83,7 @@ along with GCC; see the file COPYING3.  If not see
   %{!mno-cygwin:-lcygwin} \
   %{mno-cygwin:%{mthreads:-lmingwthrd} -lmingw32} \
   %{mwindows:-lgdi32 -lcomdlg32} \
-  -luser32 -lkernel32 -ladvapi32 -lshell32"
+  -ladvapi32 -lshell32 -luser32 -lkernel32"
 
 /* To implement C++ function replacement we always wrap the cxx
    malloc-like operators.  See N2800 #17.6.4.6 [replacement.functions] */
index b3277fcfe49c951a68febda54184a48a843fbd38..244e1d7a85e58f7c32f469f968a2185bb953dc63 100644 (file)
@@ -77,7 +77,7 @@ along with GCC; see the file COPYING3.  If not see
    kernel32.  */
 #undef LIB_SPEC
 #define LIB_SPEC "%{pg:-lgmon} %{mwindows:-lgdi32 -lcomdlg32} \
-                  -luser32 -lkernel32 -ladvapi32 -lshell32"
+                  -ladvapi32 -lshell32 -luser32 -lkernel32"
 
 /* Weak symbols do not get resolved if using a Windows dll import lib.
    Make the unwind registration references strong undefs.  */
index 8fec6f761d787eb5a22282def4e38d0a41d6617a..af91aa5cdb66d4718250b6570688a241fbe1146f 100644 (file)
@@ -34,7 +34,7 @@ cygwin2.o: $(srcdir)/config/i386/cygwin2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
        $(srcdir)/config/i386/cygwin2.c
 
 # Cygwin-specific parts of LIB_SPEC
-SHLIB_LC = -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32
+SHLIB_LC = -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32
 
 # We have already included one of the t-{dw2,sjlj}-eh fragments for EH_MODEL
 SHLIB_EH_EXTENSION = $(subst -dw2,,-$(EH_MODEL))
index 62d6330fabb49d145dee5b4f6746ec4c36cd609d..fc0c1224bdd70ae3aa43a3cc3f3464910087284d 100644 (file)
@@ -6,7 +6,7 @@ MULTILIB_DIRNAMES = 64 32
 MULTILIB_OSDIRNAMES = ../lib64 ../lib
 
 # MinGW-specific parts of LIB_SPEC
-SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32
+SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32
 
 LIBGCC = stmp-multilib
 INSTALL_LIBGCC = install-multilib
index b0106e5e64b922b8229c155706e4bc25a85458fb..d5b2d0e3d4d98e230088ba8ca0f8594e46486ee1 100644 (file)
@@ -6,7 +6,7 @@ MULTILIB_DIRNAMES = 64 32
 MULTILIB_OSDIRNAMES = ../lib ../lib32
 
 # MinGW-specific parts of LIB_SPEC
-SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32
+SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32
 
 LIBGCC = stmp-multilib
 INSTALL_LIBGCC = install-multilib
index bfe15069c6806394c9492b8b0eb8525286d68d2a..b6f5e8cbb2a9f367e0df4f5b7b0f5003cdf27a4c 100644 (file)
@@ -2,4 +2,4 @@
 NATIVE_SYSTEM_HEADER_DIR = /mingw/include
 
 # MinGW-specific parts of LIB_SPEC
-SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32
+SHLIB_LC = -lmingw32 -lmingwex -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32