aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2004-04-24 00:33:18 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2004-04-24 00:33:18 +0000
commit170f9e63cdc9db87125c9379d7be9ec0b6d035c7 (patch)
tree900db3690ca38841b203d8dd65008162f2bbaf5d
parentb456ce423235349c45a8ee7b904558bfb10a0c76 (diff)
downloadgcc-170f9e63cdc9db87125c9379d7be9ec0b6d035c7.zip
gcc-170f9e63cdc9db87125c9379d7be9ec0b6d035c7.tar.gz
gcc-170f9e63cdc9db87125c9379d7be9ec0b6d035c7.tar.bz2
host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__ and __s390x__ hosts.
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__ and __s390x__ hosts. From-SVN: r81124
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/host-linux.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e910151..49f94fe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-24 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__
+ and __s390x__ hosts.
+
2004-03-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp,
diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c
index 7302d38..777cfa9 100644
--- a/gcc/config/host-linux.c
+++ b/gcc/config/host-linux.c
@@ -71,6 +71,10 @@
# define TRY_EMPTY_VM_SPACE 0x1000000000
#elif defined(__i386)
# define TRY_EMPTY_VM_SPACE 0x60000000
+#elif defined(__s390x__)
+# define TRY_EMPTY_VM_SPACE 0x8000000000
+#elif defined(__s390__)
+# define TRY_EMPTY_VM_SPACE 0x60000000
#else
# define TRY_EMPTY_VM_SPACE 0
#endif