This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0.1 PATCH: define __s390__ on s390x
- To: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Subject: Re: 3.0.1 PATCH: define __s390__ on s390x
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 14 Aug 2001 15:00:26 -0700
- cc: "uweigand at de dot ibm dot com" <uweigand at de dot ibm dot com>, "hpenner at de dot ibm dot com" <hpenner at de dot ibm dot com>
--On Tuesday, August 14, 2001 11:52:46 PM +0200 Ulrich Weigand
<weigand@immd1.informatik.uni-erlangen.de> wrote:
>
> Hello,
>
> as noted by David Edelsohn, the s390x target did not define
> the __s390__ macro, only __s390x__. This is different from
> all other 64-bit platforms, where always *both* macros are
> defined (e.g. __powerpc__ *and* __powerpc64__), to allow a
> simple test for the base platform itself; therefore, it
> should be fixed on s390x as well.
>
> Is this OK for the branch?
Yes.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com