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
-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 in opts.c to the common hooks
2011/6/20 Weddington, Eric eric.wedding...@atmel.com:
-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
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
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
-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, Georg
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, as I