introduce --enable-large-address-aware

Programming / Compilers / GCC - aoliva [138bc75d-0d04-0410-961f-82ee72b054a4] - 12 October 2018 20:11 EDT

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: 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.

ee018eb1971 introduce --enable-large-address-aware
gcc/ChangeLog | 9 +++++++++
gcc/config.in | 12 ++++++++++++
gcc/config/i386/mingw-w64.h | 9 +++++++++
gcc/config/i386/mingw32.h | 8 ++++++++
gcc/configure | 18 ++++++++++++++++--
gcc/configure.ac | 7 +++++++
gcc/doc/install.texi | 8 ++++++++
7 files changed, 69 insertions(+), 2 deletions(-)

Upstream: gcc.gnu.org


  • Share