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 3017202..4e79cd8 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 8a637e8..a8d26e9 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 b3277fc..244e1d7 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 8fec6f7..af91aa5 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 62d6330..fc0c122 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 b0106e5..d5b2d0e 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 bfe1506..b6f5e8c 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