This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] always define __sparc64__ on ultrasparc
- From: "David S. Miller" <davem at redhat dot com>
- To: obrien at freebsd dot org
- Cc: gcc-patches at gcc dot gnu dot org, jhb at freebsd dot org
- Date: Thu, 16 May 2002 21:08:24 -0700 (PDT)
- Subject: Re: [PATCH] always define __sparc64__ on ultrasparc
- References: <20020516210458.A85424@dragon.nuxi.com>
From: "David O'Brien" <obrien@freebsd.org>
Date: Thu, 16 May 2002 21:04:58 -0700
Since __sparc64__ is in the compilers namespace, I don't think this patch
will cause a problem for anyone.
The standard thing to do is use __sparc__ && __arch64__, __sparc64__
does not exist.
If FreeBSD and NetBSD still want to use __sparc64__ then they will
have to be handled in the freebsd/netbsd headers.
I would recommend, however, that these two systems stop making use of
__sparc64__ and use __arch64__ instead. If you look, that is what the
generic Sparc backend and the floating point headers, use to test this.