From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2988 invoked by alias); 30 Mar 2011 20:11:53 -0000 Received: (qmail 2976 invoked by uid 22791); 30 Mar 2011 20:11:51 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_MF,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Mar 2011 20:11:46 +0000 Received: (qmail 18853 invoked from network); 30 Mar 2011 20:11:45 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Mar 2011 20:11:45 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Q51k0-0005YC-0z; Wed, 30 Mar 2011 20:11:44 +0000 Date: Wed, 30 Mar 2011 20:30:00 -0000 From: "Joseph S. Myers" To: Richard Earnshaw cc: gcc-patches@gcc.gnu.org, nickc@redhat.com, paul@codesourcery.com, ramana.radhakrishnan@arm.com Subject: Re: [4.7] Make ARM -mhard-float and -msoft-float into proper -mfloat-abi= aliases In-Reply-To: <1299058585.24968.2.camel@e102346-lin.cambridge.arm.com> Message-ID: References: <1299058585.24968.2.camel@e102346-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 X-SW-Source: 2011-03/txt/msg02114.txt.bz2 On Wed, 2 Mar 2011, Richard Earnshaw wrote: > Could you remove the documentation entries for the hard/soft-float > aliases please? They're really only there for legacy reasons. Is this the change you want here? 2011-03-30 Joseph Myers * config/arm/arm.opt (mhard-float, msoft-float): Mark Undocumented. Remove help text. * doc/invoke.texi (ARM Options): Don't document -msoft-float and -mhard-float. Index: doc/invoke.texi =================================================================== --- doc/invoke.texi (revision 171745) +++ doc/invoke.texi (working copy) @@ -454,7 +454,7 @@ -mapcs-reentrant -mno-apcs-reentrant @gol -msched-prolog -mno-sched-prolog @gol -mlittle-endian -mbig-endian -mwords-little-endian @gol --mfloat-abi=@var{name} -msoft-float -mhard-float -mfpe @gol +-mfloat-abi=@var{name} -mfpe @gol -mfp16-format=@var{name} -mthumb-interwork -mno-thumb-interwork @gol -mcpu=@var{name} -march=@var{name} -mfpu=@var{name} @gol @@ -10079,14 +10079,6 @@ compile your entire program with the same ABI, and link with a compatible set of libraries. -@item -mhard-float -@opindex mhard-float -Equivalent to @option{-mfloat-abi=hard}. - -@item -msoft-float -@opindex msoft-float -Equivalent to @option{-mfloat-abi=soft}. - @item -mlittle-endian @opindex mlittle-endian Generate code for a processor running in little-endian mode. This is Index: config/arm/arm.opt =================================================================== --- config/arm/arm.opt (revision 171745) +++ config/arm/arm.opt (working copy) @@ -94,8 +94,7 @@ Specify the name of the target floating point hardware/format mhard-float -Target RejectNegative Alias(mfloat-abi=, hard) -Alias for -mfloat-abi=hard +Target RejectNegative Alias(mfloat-abi=, hard) Undocumented mlittle-endian Target Report RejectNegative InverseMask(BIG_END) @@ -122,8 +121,7 @@ Do not load the PIC register in function prologues msoft-float -Target RejectNegative Alias(mfloat-abi=, soft) -Alias for -mfloat-abi=soft +Target RejectNegative Alias(mfloat-abi=, soft) Undocumented mstructure-size-boundary= Target RejectNegative Joined Var(structure_size_string) -- Joseph S. Myers joseph@codesourcery.com