From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4935 invoked by alias); 4 Feb 2015 09:43:29 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 4920 invoked by uid 89); 4 Feb 2015 09:43:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 04 Feb 2015 09:43:26 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t149hOe2030160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 4 Feb 2015 04:43:24 -0500 Received: from tucnak.zalov.cz (ovpn-116-42.ams2.redhat.com [10.36.116.42]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t149hMMD030632 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Wed, 4 Feb 2015 04:43:23 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.14.9/8.14.9) with ESMTP id t149hGZI008975; Wed, 4 Feb 2015 10:43:16 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.14.9/8.14.9/Submit) id t149hE0B008974; Wed, 4 Feb 2015 10:43:14 +0100 Date: Wed, 04 Feb 2015 09:43:00 -0000 From: Jakub Jelinek To: Thomas Schwinge Cc: GCC Patches , Bernd Schmidt Subject: Re: nvptx-tools and nvptx-newlib (was: The nvptx port [10/11+] Target files) Message-ID: <20150204094314.GH1746@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <54451994.9070209@codesourcery.com> <54451D57.5050803@codesourcery.com> <5447F0E1.7080906@redhat.com> <544FAE8B.5010906@codesourcery.com> <545179C6.4030406@redhat.com> <5460E5AD.6060502@codesourcery.com> <87vbl2w69s.fsf@kepler.schwinge.homeip.net> <87egq8mir1.fsf@schwinge.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87egq8mir1.fsf@schwinge.name> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00201.txt.bz2 On Mon, Feb 02, 2015 at 04:32:34PM +0100, Thomas Schwinge wrote: > Hi! > > On Tue, 23 Dec 2014 19:49:35 +0100, I wrote: > > On Mon, 10 Nov 2014 17:19:57 +0100, Bernd Schmidt wrote: > > > The scripts (11/11) I've put up on github, along with a hacked up > > > newlib. These are at [...] > > > > They are likely to migrate to MentorEmbedded from bernds, but that had > > > some permissions problems last week. > > > > That has recently been done: > > and > > are now available. > > > > (I'm aware that we still are to write up how to actually build and test > > all this.) > > I just updated > . Can you please update the gmane URLs to corresponding https://gcc.gnu.org/ml/gcc-patches/ URLs? We have our own mailing list archives, no need to use third party ones. > > OK to check in the following to trunk? > --- gcc/config/nvptx/nvptx.opt > +++ gcc/config/nvptx/nvptx.opt > @@ -17,13 +17,13 @@ > ; along with GCC; see the file COPYING3. If not see > ; . > > -m64 > -Target Report RejectNegative Mask(ABI64) > -Generate code for a 64 bit ABI > - > m32 > Target Report RejectNegative InverseMask(ABI64) > -Generate code for a 32 bit ABI > +Generate code for a 32-bit ABI > + > +m64 > +Target Report RejectNegative Mask(ABI64) > +Generate code for a 64-bit ABI I'd expect you want also Negative(m64) on the m32 option and Negative(m32) on the m64 option. > +@table @gcctabopt > + > +@item -m32 > +@itemx -m64 > +@opindex m32 > +@opindex m64 > +Generate code for 32-bit or 64-bit ABI. I guess you should mention which one of those is the default (if it isn't configure time configurable). What about multilibs, is newlib built for both -m32 and -m64, or just the default option? Jakub