Lines Matching defs:options

0 // options.c -- handle command line options for gold
40 #include "options.h"
49 namespace options
52 // This flag is TRUE if we should register the command-line options as they
53 // are constructed. It is set after construction of the options within
119 case options::ONE_DASH: case options::EXACTLY_ONE_DASH:
122 case options::TWO_DASHES: case options::EXACTLY_TWO_DASHES:
125 case options::DASH_Z:
134 // For most options, we print "--frob FOO". But for -z
136 len += printf("%c%s", this->dashes == options::DASH_Z ? '=' : ' ',
158 printf(_("Usage: %s [options] file...\nOptions:\n"), gold::program_name);
190 // For bool, arg will be NULL (boolean options take no argument);
299 } // End namespace options.
301 // Define the handler for "special" options (set via DEFINE_special).
306 options::help();
831 // Parse a long option. Such options have the form
840 gold::options::One_option*
851 gold::options::Option_map::iterator it
852 = gold::options::long_options->find(option);
853 if (it == gold::options::long_options->end())
856 gold::options::One_option* retval = it->second;
861 if (retval->dashes != gold::options::DASH_Z)
866 if (retval->dashes != gold::options::ONE_DASH
867 && retval->dashes != gold::options::EXACTLY_ONE_DASH
868 && retval->dashes != gold::options::TWO_DASHES)
873 if (retval->dashes != gold::options::TWO_DASHES
874 && retval->dashes != gold::options::EXACTLY_TWO_DASHES
875 && retval->dashes != gold::options::ONE_DASH)
906 // Parse a short option. Such options have the form -<option>[arg].
916 gold::options::One_option*
926 static gold::options::One_option dash_z("", gold::options::DASH_Z,
929 gold::options::One_option* retval = NULL;
936 retval = gold::options::short_options[char_as_int];
1005 gold::options::ready_to_register = false;
1083 // the parse routine, and ensure options don't contradict each other
1288 // Now that we've normalized the options, check for contradictory ones.
1331 // Check for options that are not compatible with incremental linking.
1459 Input_arguments::start_lib(const Position_dependent_options& options)
1465 Input_file_lib* lib = new Input_file_lib(options);
1480 // Command_line options.
1490 gold::options::ready_to_register = true;
1493 // Process the command line options. For process_one_option, i is the
1514 options::One_option* option = NULL;
1526 // options can be combined in one argv, we may have to parse a lot
1553 this->position_options_.copy_from_options(this->options());
1572 // Normalize the options and ensure they don't contradict each other.
1576 // Finalize the version script options and return them.