mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 20:53:06 +08:00
* options.cc (General_options::string_to_object_format): Accept
"default".
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2013-03-08 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* options.cc (General_options::string_to_object_format): Accept
|
||||
"default".
|
||||
|
||||
2013-03-08 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ehframe.h (Post_fdes) Make it a vector of Post_fde rather than
|
||||
|
@ -652,7 +652,7 @@ General_options::check_excluded_libs(const std::string &name) const
|
||||
General_options::Object_format
|
||||
General_options::string_to_object_format(const char* arg)
|
||||
{
|
||||
if (strncmp(arg, "elf", 3) == 0)
|
||||
if (strncmp(arg, "elf", 3) == 0 || strcmp(arg, "default") == 0)
|
||||
return gold::General_options::OBJECT_FORMAT_ELF;
|
||||
else if (strcmp(arg, "binary") == 0)
|
||||
return gold::General_options::OBJECT_FORMAT_BINARY;
|
||||
|
Reference in New Issue
Block a user