Lines Matching refs:gold
1 // options.c -- handle command line options for gold
6 // This file is part of gold.
23 #include "gold.h"
43 namespace gold
156 printf(_("Usage: %s [options] file...\nOptions:\n"), gold::program_name);
164 printf(_("%s: supported targets:"), gold::program_name);
166 gold::supported_target_names(&supported_names);
173 printf(_("%s: supported emulations:"), gold::program_name);
175 gold::supported_emulation_names(&supported_names);
312 gold::print_version(print_short);
321 gold::print_version(true);
326 gold::supported_target_names(&supported_names);
334 gold::supported_emulation_names(&supported_names);
534 gold::gold_fatal(_("unable to parse script file %s"), arg);
542 gold::gold_fatal(_("unable to parse version script file %s"), arg);
550 gold::gold_fatal(_("unable to parse dynamic-list script file %s"), arg);
657 return gold::General_options::OBJECT_FORMAT_ELF;
659 return gold::General_options::OBJECT_FORMAT_BINARY;
662 gold::gold_error(_("format '%s' not supported; treating as elf "
665 return gold::General_options::OBJECT_FORMAT_ELF;
695 } // End namespace gold.
705 gold::program_name);
714 gold::program_name, opt, msg);
724 char* path = make_relative_prefix(gold::program_name, from,
770 gold::options::One_option*
781 gold::options::Option_map::iterator it
782 = gold::options::long_options->find(option);
783 if (it == gold::options::long_options->end())
786 gold::options::One_option* retval = it->second;
791 if (retval->dashes != gold::options::DASH_Z)
796 if (retval->dashes != gold::options::ONE_DASH
797 && retval->dashes != gold::options::EXACTLY_ONE_DASH
798 && retval->dashes != gold::options::TWO_DASHES)
803 if (retval->dashes != gold::options::TWO_DASHES
804 && retval->dashes != gold::options::EXACTLY_TWO_DASHES
805 && retval->dashes != gold::options::ONE_DASH)
846 gold::options::One_option*
856 static gold::options::One_option dash_z("", gold::options::DASH_Z,
859 gold::options::One_option* retval = NULL;
866 retval = gold::options::short_options[char_as_int];
910 namespace gold
933 gold::options::ready_to_register = false;
1438 gold::options::ready_to_register = true;
1535 } // End namespace gold.