aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/Makefile.rtl
diff options
context:
space:
mode:
authorPatrick Bernardi <bernardi@adacore.com>2018-07-17 08:11:37 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-07-17 08:11:37 +0000
commitc343f1dc19cd16e0fb995c2d3c27c13ab27e0a26 (patch)
tree6e9c9bbfa7affd052fbd434fef437121ffb584bc /gcc/ada/Makefile.rtl
parent7ffb58afe1ad318ccf289325e802d913bd8e0e15 (diff)
downloadgcc-c343f1dc19cd16e0fb995c2d3c27c13ab27e0a26.zip
gcc-c343f1dc19cd16e0fb995c2d3c27c13ab27e0a26.tar.gz
gcc-c343f1dc19cd16e0fb995c2d3c27c13ab27e0a26.tar.bz2
[Ada] Use standard version of s-memory.adb for mingw32
This patch switches mingw32 targets to use the standard version of s-memory.adb as Windows now has the capability of limiting the amount of memory used by process. 2018-07-17 Patrick Bernardi <bernardi@adacore.com> gcc/ada/ * libgnat/s-memory__mingw.adb: Remove. * Makefile.rtl: Remove s-memory.adb target pair from the Cygwin/Mingw32 section. gcc/testsuite/ * gnat.dg/memorytest.adb: New testcase. From-SVN: r262796
Diffstat (limited to 'gcc/ada/Makefile.rtl')
-rw-r--r--gcc/ada/Makefile.rtl12
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index 374c60b..7eaa9ba 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -1960,19 +1960,17 @@ endif
# Cygwin/Mingw32
ifeq ($(strip $(filter-out cygwin% mingw32% pe,$(target_os))),)
# Cygwin provides a full Posix environment, and so we use the default
- # versions of s-memory and g-socthi rather than the Windows-specific
- # MinGW versions. Ideally we would use all the default versions for
- # Cygwin and none of the MinGW versions, but for historical reasons
- # the Cygwin port has always been a CygMing frankenhybrid and it is
- # a long-term project to disentangle them.
+ # versions g-socthi rather than the Windows-specific MinGW version.
+ # Ideally we would use all the default versions for Cygwin and none
+ # of the MinGW versions, but for historical reasons the Cygwin port
+ # has always been a CygMing frankenhybrid and it is a long-term project
+ # to disentangle them.
ifeq ($(strip $(filter-out cygwin%,$(target_os))),)
LIBGNAT_TARGET_PAIRS = \
- s-memory.adb<libgnat/s-memory.adb \
g-socthi.ads<libgnat/g-socthi.ads \
g-socthi.adb<libgnat/g-socthi.adb
else
LIBGNAT_TARGET_PAIRS = \
- s-memory.adb<libgnat/s-memory__mingw.adb \
g-socthi.ads<libgnat/g-socthi__mingw.ads \
g-socthi.adb<libgnat/g-socthi__mingw.adb
endif