introduce --enable-large-address-aware
authorAlexandre Oliva <oliva@adacore.com>
Fri, 12 Oct 2018 20:11:27 +0000 (20:11 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 12 Oct 2018 20:11:27 +0000 (20:11 +0000)
commit67aeaded2f8dabe16b4879261c6b6ddda6b53cd2
tree2c0666d5a96feaaa414d864ef835106a6dc116ac
parent9e41e97531b6fe141ca2f35839f4f1d45f47170e
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
gcc/ChangeLog
gcc/config.in
gcc/config/i386/mingw-w64.h
gcc/config/i386/mingw32.h
gcc/configure
gcc/configure.ac
gcc/doc/install.texi