+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.
%{!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] */
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. */
$(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))
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
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
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