This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [pch] Fix largefile.c on sparc and sparc64
On Sun, Nov 07, 2004 at 01:17:33PM -0500, James A. Morrison wrote:
> Ok, how about
> Index: host-linux.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config/host-linux.c,v
> retrieving revision 1.3
> diff -u -p -r1.3 host-linux.c
> --- host-linux.c 15 Oct 2004 17:22:02 -0000 1.3
> +++ host-linux.c 7 Nov 2004 18:15:11 -0000
> @@ -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
>
> after another set of sparc{,64}-linux bootstrap and test runs?
Ok.
Jakub