From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16231 invoked by alias); 20 Jun 2011 17:34:05 -0000 Received: (qmail 16074 invoked by uid 22791); 20 Jun 2011 17:34:03 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE,TW_XG X-Spam-Check-By: sourceware.org Received: from mo-p00-ob.rzone.de (HELO mo-p00-ob.rzone.de) (81.169.146.160) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 20 Jun 2011 17:33:49 +0000 X-RZG-AUTH: :LXoWVUeid/7A29J/hMvvT2k715jHQaJercGObUOFkj18odoYNahU4Q== X-RZG-CLASS-ID: mo00 Received: from [192.168.0.22] (business-188-111-022-002.static.arcor-ip.net [188.111.22.2]) by post.strato.de (fruni mo53) (RZmta 25.18) with ESMTPA id 206a60n5KGC1TN ; Mon, 20 Jun 2011 19:33:40 +0200 (MEST) Message-ID: <4DFF8474.5030604@gjlay.de> Date: Mon, 20 Jun 2011 18:03:00 -0000 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (X11/20100302) MIME-Version: 1.0 To: "Joseph S. Myers" CC: gcc-patches@gcc.gnu.org, chertykov@gmail.com, aesok@post.ru, eric.weddington@atmel.com Subject: Re: Remove TARGET_HELP hook References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-06/txt/msg01518.txt.bz2 Joseph S. Myers schrieb: > When moving hooks used in opts.c to the common hooks structure so they > can be called from the driver, I did not move the TARGET_HELP hook > because this hook is obsoleted by the generic Enum .opt facility (only > being used to print list of enumerated arguments to options). > Instead, this patch converts the one remaining target with a > TARGET_HELP implementation, AVR, to use Enum for the relevant option > (with a .def file in the same style as various other targets), and > removes and poisons the hook. > > Bootstrapped with no regressions on x86_64-unknown-linux-gnu, and > tested building cc1 and xgcc for cross to avr-elf. Will common to > trunk in the absence of target maintainer objections. > [...] > Index: gcc/config/avr/avr-tables.opt > =================================================================== > --- gcc/config/avr/avr-tables.opt (revision 0) > +++ gcc/config/avr/avr-tables.opt (revision 0) As it's auto-generated: must it reside in repository? Johann