introduce --enable-large-address-aware
commitee018eb1971d4e966d3d61d7906b2dd5641e4275
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Oct 2018 20:11:27 +0000 (12 20:11 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Oct 2018 20:11:27 +0000 (12 20:11 +0000)
tree2c0666d5a96feaaa414d864ef835106a6dc116ac
parent3a1cfe4aff256c8440233b624de5758df0dd89cc
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265130 138bc75d-0d04-0410-961f-82ee72b054a4
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