diff options
author | Alexandre Oliva <oliva@adacore.com> | 2018-10-12 20:11:27 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2018-10-12 20:11:27 +0000 |
commit | 67aeaded2f8dabe16b4879261c6b6ddda6b53cd2 (patch) | |
tree | 2c0666d5a96feaaa414d864ef835106a6dc116ac /gcc/config.in | |
parent | 9e41e97531b6fe141ca2f35839f4f1d45f47170e (diff) | |
download | gcc-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.in | 12 |
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 |