mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* options.cc (General_options::parse_V): New function.
* options.h: Add entries for -V and -Qy.
This commit is contained in:
@ -262,6 +262,19 @@ General_options::parse_version(const char* opt, const char*, Command_line*)
|
||||
::exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
void
|
||||
General_options::parse_V(const char*, const char*, Command_line*)
|
||||
{
|
||||
gold::print_version(true);
|
||||
printf(_(" Supported targets:\n"));
|
||||
std::vector<const char*> supported_names;
|
||||
gold::supported_target_names(&supported_names);
|
||||
for (std::vector<const char*>::const_iterator p = supported_names.begin();
|
||||
p != supported_names.end();
|
||||
++p)
|
||||
printf(" %s\n", *p);
|
||||
}
|
||||
|
||||
void
|
||||
General_options::parse_Bstatic(const char*, const char*, Command_line*)
|
||||
{
|
||||
|
Reference in New Issue
Block a user