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
> -Original Message-
> From: Joseph Myers [mailto:jos...@codesourcery.com]
> Sent: Monday, June 20, 2011 9:47 AM
> To: gcc-patches@gcc.gnu.org
> Cc: cherty...@gmail.com; ae...@post.ru; Weddington, Eric
> Subject: Remove TARGET_HELP hook
>
> When moving hooks used
2011/6/20 Weddington, Eric :
>
>
>> -Original Message-
>> From: Joseph Myers [mailto:jos...@codesourcery.com]
>> Sent: Monday, June 20, 2011 9:47 AM
>> To: gcc-patches@gcc.gnu.org
>> Cc: cherty...@gmail.com; ae...@post.ru; Weddington, Eric
>> S
On Mon, 20 Jun 2011, Weddington, Eric wrote:
> I assume that this new method still prints out the avr mcu list in a
> similar fashion?
Yes. Any enumerated options get such lists printed as long as there is a
help text on the Enum entry in the .opt file.
--
Joseph S. Myers
jos...@codesourcery
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 optio
On Mon, 20 Jun 2011, Georg-Johann Lay wrote:
> > 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
> -Original Message-
> From: Joseph Myers [mailto:jos...@codesourcery.com]
> Sent: Monday, June 20, 2011 1:20 PM
> To: Georg-Johann Lay
> Cc: gcc-patches@gcc.gnu.org; cherty...@gmail.com; ae...@post.ru;
> Weddington, Eric
> Subject: Re: Remove TARGET_HELP hook
>
On Mon, 20 Jun 2011, Weddington, Eric wrote:
> > > As it's auto-generated: must it reside in repository?
> >
> > The machinery for selecting .opt files to use and for using them (both in
> > the compiler and in .pot generation) expects them all to be in the source
> > directory.
>
> Right. So, a
> -Original Message-
> From: Joseph Myers [mailto:jos...@codesourcery.com]
> Sent: Monday, June 20, 2011 4:03 PM
> To: Weddington, Eric
> Cc: Georg-Johann Lay; gcc-patches@gcc.gnu.org; cherty...@gmail.com;
> ae...@post.ru
> Subject: RE: Remove TARGET_HELP hook
>