diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-06-21 11:22:19 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2011-06-21 11:22:19 +0100 |
commit | 1b916ca624af1c90ea0de48060781e6afe692279 (patch) | |
tree | 69b7b9e23ad7eb330dc9b8839efd29d99552f1ee /gcc/opts.c | |
parent | fce37f711ac956692e51040468d8825bf43c03f4 (diff) | |
download | gcc-1b916ca624af1c90ea0de48060781e6afe692279.zip gcc-1b916ca624af1c90ea0de48060781e6afe692279.tar.gz gcc-1b916ca624af1c90ea0de48060781e6afe692279.tar.bz2 |
gcc_update (gcc/config/avr/avr-tables.opt): New dependencies.
contrib:
* gcc_update (gcc/config/avr/avr-tables.opt): New dependencies.
gcc:
* config/avr/avr-mcus.def, config/avr/genopt.sh: New files.
* config/avr/avr-tables.opt: New file (generated).
* config.gcc (avr-*-*): Use avr/avr-tables.opt.
* config/avr/avr-devices.c (avr_mcu_types): Move contents to
avr-mcus.def.
* config/avr/avr.c (avr_help, TARGET_HELP): Remove.
(avr_option_override): Don't process -mmcu= argument here. Set
avr_current_device using avr_mcu_index.
(avr_file_start): Use avr_current_device->name instead of
avr_mcu_name.
* config/avr/avr.opt (mmcu=): Use Enum.
* config/avr/t-avr (avr-devices.o): Update dependencies.
($(srcdir)/config/avr/avr-tables.opt): New.
* target.def (help): Remove.
* doc/tm.texi.in (TARGET_HELP): Remove.
* doc/tm.texi: Regenerate.
* opts.c: Don't include target.h.
(common_handle_option): Don't call targetm.help.
* system.h (TARGET_HELP): Poison.
* Makefile.in (opts.o): Update dependencies.
From-SVN: r175248
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -34,7 +34,6 @@ along with GCC; see the file COPYING3. If not see #include "diagnostic.h" #include "opts-diagnostic.h" #include "insn-attr.h" /* For INSN_SCHEDULING and DELAY_SLOTS. */ -#include "target.h" #include "common/common-target.h" /* Parse the -femit-struct-debug-detailed option value @@ -1269,10 +1268,6 @@ common_handle_option (struct gcc_options *opts, case OPT__target_help: print_specific_help (CL_TARGET, CL_UNDOCUMENTED, 0, opts, lang_mask); opts->x_exit_after_options = true; - - /* Allow the target a chance to give the user some additional information. */ - if (targetm.help) - targetm.help (); break; case OPT__help_: |