mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-23 10:03:47 +08:00
* options.cc (General_options::parse_version): Allow -v to exit
without an error if there is nothing to link.
This commit is contained in:
parent
b1c2b04fde
commit
3dcad3765d
@ -1,3 +1,8 @@
|
||||
2009-12-29 Sriraman Tallam <tmsriram@google.com>
|
||||
|
||||
* options.cc (General_options::parse_version): Allow -v to exit
|
||||
without an error if there is nothing to link.
|
||||
|
||||
2009-12-29 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* configure.ac: Set the MCMODEL_MEDIUM conditional to false if
|
||||
|
@ -290,6 +290,7 @@ General_options::parse_version(const char* opt, const char*, Command_line*)
|
||||
{
|
||||
bool print_short = (opt[0] == '-' && opt[1] == 'v');
|
||||
gold::print_version(print_short);
|
||||
this->printed_version_ = true;
|
||||
if (!print_short)
|
||||
::exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user