From 37d060a3abc5836a0207dd6968ebadf9c79abdc2 Mon Sep 17 00:00:00 2001 From: "James A. Morrison" Date: Tue, 9 Nov 2004 12:35:15 +0000 Subject: [PATCH] re PR pch/14940 (PCH largefile test fails on various platforms) 2004-11-07 James A. Morrison PR pch/14940 * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__ definitions. From-SVN: r90340 --- gcc/ChangeLog | 6 ++++++ gcc/config/host-linux.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edbdb47f070..9867428abf0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-11-07 James A. Morrison + + PR pch/14940 + * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__ + definitions. + 2004-11-09 Joseph S. Myers * builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument" diff --git a/gcc/config/host-linux.c b/gcc/config/host-linux.c index ee4e61ccbc5..717f96cdc66 100644 --- a/gcc/config/host-linux.c +++ b/gcc/config/host-linux.c @@ -77,6 +77,10 @@ # define TRY_EMPTY_VM_SPACE 0x8000000000 #elif defined(__s390__) # define TRY_EMPTY_VM_SPACE 0x60000000 +#elif defined(__sparc__) && defined(__LP64__) +# define TRY_EMPTY_VM_SPACE 0x8000000000 +#elif defined(__sparc__) +# define TRY_EMPTY_VM_SPACE 0x60000000 #else # define TRY_EMPTY_VM_SPACE 0 #endif -- 2.30.2