Remove TARGET_HELP hook

Georg-Johann Lay
Mon Jun 20 18:03:00 GMT 2011

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?


More information about the Gcc-patches mailing list