comparison gcc/common/common-target.def @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Target hook definitions for common hooks. 1 /* Target hook definitions for common hooks.
2 Copyright (C) 2011-2017 Free Software Foundation, Inc. 2 Copyright (C) 2011-2018 Free Software Foundation, Inc.
3 3
4 This program is free software; you can redistribute it and/or modify it 4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the 5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 3, or (at your option) any 6 Free Software Foundation; either version 3, or (at your option) any
7 later version. 7 later version.
54 "Set target-dependent default values for @option{--param} settings, using\ 54 "Set target-dependent default values for @option{--param} settings, using\
55 calls to @code{set_default_param_value}.", 55 calls to @code{set_default_param_value}.",
56 void, (void), 56 void, (void),
57 hook_void_void) 57 hook_void_void)
58 58
59 DEFHOOK
60 (option_validate_param,
61 "Validate target-dependent value for @option{--param} settings, using\
62 calls to @code{set_param_value}.",
63 bool, (int, int),
64 default_option_validate_param)
65
59 /* The initial value of target_flags. */ 66 /* The initial value of target_flags. */
60 DEFHOOKPOD 67 DEFHOOKPOD
61 (default_target_flags, 68 (default_target_flags,
62 "", 69 "",
63 int, 0) 70 int, 0)
77 the stack in some configurations. The default version of this hook\ 84 the stack in some configurations. The default version of this hook\
78 returns false. If @var{report} is true, this function may issue a warning\ 85 returns false. If @var{report} is true, this function may issue a warning\
79 or error; if @var{report} is false, it must simply return a value", 86 or error; if @var{report} is false, it must simply return a value",
80 bool, (bool report, struct gcc_options *opts), 87 bool, (bool report, struct gcc_options *opts),
81 hook_bool_bool_gcc_optionsp_false) 88 hook_bool_bool_gcc_optionsp_false)
89
90 DEFHOOK
91 (get_valid_option_values,
92 "The hook is used for options that have a non-trivial list of\
93 possible option values. OPTION_CODE is option code of opt_code\
94 enum type. PREFIX is used for bash completion and allows an implementation\
95 to return more specific completion based on the prefix. All string values\
96 should be allocated from heap memory and consumers should release them. \
97 The result will be pruned to cases with PREFIX if not NULL.",
98 vec<const char *>, (int option_code, const char *prefix),
99 default_get_valid_option_values)
82 100
83 /* Leave the boolean fields at the end. */ 101 /* Leave the boolean fields at the end. */
84 102
85 /* True if unwinding tables should be generated by default. */ 103 /* True if unwinding tables should be generated by default. */
86 DEFHOOKPOD 104 DEFHOOKPOD