OSDN Git Service

* target.h (struct gcc_target): Add target_help field.
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 15:05:26 +0000 (15:05 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 4 Jul 2007 15:05:26 +0000 (15:05 +0000)
commit154ee3b816be8f9918b5c3d80df26dd80849efd5
tree130ff355eaa28d20f9252f17820bbf64de1c44c6
parent4c369c583e246d2c2e18262a6e574d2f8e2e7fb4
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126323 138bc75d-0d04-0410-961f-82ee72b054a4
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