[pch] Fix largefile.c on sparc and sparc64
James A. Morrison
ja2morri@csclub.uwaterloo.ca
Sun Nov 7 18:06:00 GMT 2004
Jakub Jelinek <jakub@redhat.com> writes:
> On Sun, Nov 07, 2004 at 12:33:26PM -0500, James A. Morrison wrote:
> >
> > This fixes the largefile.c test cases on sparc and sparc64. It doesn't fix
> > all the failures on sparc64, but setting TRY_EMPTY_VM_SPACE to something
> > off in never, never land for sparc64 doesn't fix those failures either.
>
> Still you should IMHO set TRY_EMPTY_VM_SPACE to some > 4GB address for
> defined(__sparc__) && defined(__LP64__)
> and only use 0x60000000 for sparc32.
>
> Jakub
Ok, would it be better to use __LP64__ or __arch64__ ?
--
Thanks,
Jim
http://www.student.cs.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim
More information about the Gcc-patches
mailing list