From 291a0806acc53f6a3af0098ef0d6e3f4772c9361 Mon Sep 17 00:00:00 2001 From: nickc Date: Wed, 23 Apr 2014 09:42:40 +0000 Subject: [PATCH] * config/i386/cygwin.h (ENDFILE_SPEC): Include default-manifest.o if it can be found in the search path. * config/i386/mingw32.h (ENDFILE_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209681 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 8 +++++++- gcc/config/i386/cygwin.h | 1 + gcc/config/i386/mingw32.h | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ebe628b1d1..a31d8b5e199 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-04-23 Nick Clifton + + * config/i386/cygwin.h (ENDFILE_SPEC): Include + default-manifest.o if it can be found in the search path. + * config/i386/mingw32.h (ENDFILE_SPEC): Likewise. + 2014-04-23 Terry Guo * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way. @@ -78,7 +84,7 @@ 2014-04-22 H.J. Lu PR target/60868 - * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode + * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode on count_exp to get mode. 2014-04-22 Andrew Pinski diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h index f7b9a284c12..165d3aae229 100644 --- a/gcc/config/i386/cygwin.h +++ b/gcc/config/i386/cygwin.h @@ -45,6 +45,7 @@ along with GCC; see the file COPYING3. If not see #undef ENDFILE_SPEC #define ENDFILE_SPEC \ "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s}\ + %{!shared:%:if-exists(default-manifest.o%s)}\ crtend.o%s" /* Normally, -lgcc is not needed since everything in it is in the DLL, but we diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index f5638209504..4cfd5f01300 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -148,6 +148,7 @@ along with GCC; see the file COPYING3. If not see #undef ENDFILE_SPEC #define ENDFILE_SPEC \ "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ + %{!shared:%:if-exists(default-manifest.o%s)}\ crtend.o%s" /* Override startfile prefix defaults. */ -- 2.11.4.GIT