diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-04 15:05:26 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-04 15:05:26 +0000 |
commit | 154ee3b816be8f9918b5c3d80df26dd80849efd5 (patch) | |
tree | 130ff355eaa28d20f9252f17820bbf64de1c44c6 /gcc/target-def.h | |
parent | 4c369c583e246d2c2e18262a6e574d2f8e2e7fb4 (diff) | |
download | gcc-154ee3b816be8f9918b5c3d80df26dd80849efd5.tar.gz |
* 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
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index c106577c7fb..48e1c1ab919 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -369,6 +369,7 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #define TARGET_DEFAULT_TARGET_FLAGS 0 #define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true +#define TARGET_HELP NULL /* In except.c */ #define TARGET_EH_RETURN_FILTER_MODE default_eh_return_filter_mode @@ -666,6 +667,7 @@ Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. TARGET_VECTORIZE, \ TARGET_DEFAULT_TARGET_FLAGS, \ TARGET_HANDLE_OPTION, \ + TARGET_HELP, \ TARGET_EH_RETURN_FILTER_MODE, \ TARGET_MERGE_DECL_ATTRIBUTES, \ TARGET_MERGE_TYPE_ATTRIBUTES, \ |