]> git.ipfire.org Git - thirdparty/gcc.git/commit
target.h (struct gcc_target): Add target_help field.
authorNick Clifton <nickc@redhat.com>
Wed, 4 Jul 2007 15:05:26 +0000 (15:05 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 4 Jul 2007 15:05:26 +0000 (15:05 +0000)
commit67e6ba46a4215ab85c2fa8ae0922740f71fa47b5
tree130ff355eaa28d20f9252f17820bbf64de1c44c6
parentfda41d93b807f02db14dd054e6daa4d639233445
target.h (struct gcc_target): Add target_help field.

* target.h (struct gcc_target): Add target_help field.
* target-def.h (TARGET_HELP): New.
  (TARGET_INITIALIZER): Use TARGET_HELP.
* opts.c (command_handle_option): Invoke target_help function, if defined, when the
  user has specified --target-help on the command line.
* doc/invoke.texi: Mention that --target-help might print additional information.
* doc/tm.texi: Document TARGET_HELP hook.

* arm.c (TARGET_HELP): Override default definition.
  (arm_target_help): New - display a wrapped list of cores and architectures supported.

From-SVN: r126323
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/doc/invoke.texi
gcc/doc/tm.texi
gcc/opts.c
gcc/target-def.h
gcc/target.h