From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101110 invoked by alias); 23 Oct 2018 15:14:55 -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 101096 invoked by uid 89); 23 Oct 2018 15:14:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-HELO: gate.crashing.org Received: from gate.crashing.org (HELO gate.crashing.org) (63.228.1.57) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 23 Oct 2018 15:14:54 +0000 Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w9NEvLCJ024744; Tue, 23 Oct 2018 09:57:22 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id w9NEvHcr024741; Tue, 23 Oct 2018 09:57:17 -0500 Date: Tue, 23 Oct 2018 15:42:00 -0000 From: Segher Boessenkool To: "Richard Earnshaw (lists)" Cc: Christophe Lyon , christophe lyon St , gcc Patches Subject: Re: [ARM/FDPIC v3 03/21] [ARM] FDPIC: Force FDPIC related options unless -mno-fdpic is provided Message-ID: <20181023145716.GK5205@gate.crashing.org> References: <20181011133518.17258-1-christophe.lyon@st.com> <20181011133518.17258-4-christophe.lyon@st.com> <26314d4c-d0cf-05c0-9460-e1df2a6147cd@arm.com> <13da7741-e438-25bc-2825-1aebd79a4767@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13da7741-e438-25bc-2825-1aebd79a4767@arm.com> User-Agent: Mutt/1.4.2.3i X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg01446.txt.bz2 On Tue, Oct 23, 2018 at 02:58:21PM +0100, Richard Earnshaw (lists) wrote: > On 15/10/2018 11:10, Christophe Lyon wrote: > > Do you mean to also make -mfdpic non-existent/rejected when GCC is not > > configured > > for arm-uclinuxfdpiceabi? > > Ideally doesn't exist, so that it doesn't show up in things like --help > when it doesn't work. > > > How to achieve that? > > Good question, I'm not sure, off hand. It might be possible to make the > config machinery add additional opt files, but it's not something I've > tried. You might want to try adding an additional opt file to > extra_options for fdpic targets. That should work yes. You could look at how 476.opt is added for powerpc, it is a comparable situation. Segher