aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/cygwin.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 42d8bf4..20048d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-13 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * gcc/config/i386/cygwin.h (LINK_SPEC): Add --enable-auto-image-base.
+
2009-08-13 Richard Guenther <rguenther@suse.de>
PR middle-end/41047
diff --git a/gcc/config/i386/cygwin.h b/gcc/config/i386/cygwin.h
index 02d059f..d1d00f7 100644
--- a/gcc/config/i386/cygwin.h
+++ b/gcc/config/i386/cygwin.h
@@ -91,7 +91,7 @@ along with GCC; see the file COPYING3. If not see
%{shared: %{mdll: %eshared and mdll are not compatible}} \
%{shared: --shared} %{mdll:--dll} \
%{static:-Bstatic} %{!static:-Bdynamic} \
- %{shared|mdll: -e \
+ %{shared|mdll: --enable-auto-image-base -e \
%{mno-cygwin:_DllMainCRTStartup@12} \
%{!mno-cygwin:__cygwin_dll_entry@12}}\
%{!mno-cygwin:--dll-search-prefix=cyg}"