aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2018-10-12 20:11:27 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2018-10-12 20:11:27 +0000
commit67aeaded2f8dabe16b4879261c6b6ddda6b53cd2 (patch)
tree2c0666d5a96feaaa414d864ef835106a6dc116ac /gcc/config.in
parent9e41e97531b6fe141ca2f35839f4f1d45f47170e (diff)
downloadgcc-67aeaded2f8dabe16b4879261c6b6ddda6b53cd2.zip
gcc-67aeaded2f8dabe16b4879261c6b6ddda6b53cd2.tar.gz
gcc-67aeaded2f8dabe16b4879261c6b6ddda6b53cd2.tar.bz2
introduce --enable-large-address-aware
Add a configure knob for mingw32 and 64 toolchains to default passing --large-address-aware to the linker, when creating 32-bit binaries. -Wl,--disable-large-address-aware can still reverse its effects. for gcc/ChangeLog * configure.ac: Introduce --enable-large-address-aware to define MINGW_DEFAULT_LARGE_ADDR_AWARE. * doc/install.texi: Document it. * configure, config.in: Rebuilt. * config/i386/mingw32.h (LINK_SPEC_LARGE_ADDR_AWARE): Define, based on MINGW_DEFAULT_LARGE_ADDR_AWARE. (LINK_SPEC): Insert it. * config/i386/mingw-264.h: Likewise. From-SVN: r265130
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in
index d7c3fbf..b807d49 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -1993,6 +1993,18 @@
#endif
+/* Define if we should link with --large-address-aware by default */
+#ifndef USED_FOR_TARGET
+#undef MINGW_DEFAULT_LARGE_ADDR_AWARE
+#endif
+
+
+/* Define if we should link with --large-address-aware by default */
+#ifndef USED_FOR_TARGET
+#undef MINGW_DEFAULT_LARGE_ADDR_AWARE
+#endif
+
+
/* Value to set mingw's _dowildcard to. */
#ifndef USED_FOR_TARGET
#undef MINGW_DOWILDCARD