This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
S/390: Define TRY_EMPTY_VM_SPACE in host-linux.c
- From: Ulrich Weigand <weigand at i1 dot informatik dot uni-erlangen dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 24 Apr 2004 02:38:59 +0200 (CEST)
- Subject: S/390: Define TRY_EMPTY_VM_SPACE in host-linux.c
Hello,
this fixes the largefile.c PCH test case on s390(x) by defining
TRY_EMPTY_VM_SPACE as is done for other linux host platforms.
Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux;
applied to mainline.
Bye,
Ulrich
ChangeLog:
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__
and __s390x__ hosts.
Index: gcc/config/host-linux.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/host-linux.c,v
retrieving revision 1.1
diff -c -p -r1.1 host-linux.c
*** gcc/config/host-linux.c 11 Mar 2004 03:19:03 -0000 1.1
--- gcc/config/host-linux.c 22 Apr 2004 23:56:14 -0000
***************
*** 71,76 ****
--- 71,80 ----
# 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
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de