mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
From Craig Silverstein: rename some option functions in preparation
for reworking option handling.
This commit is contained in:
@ -1381,8 +1381,8 @@ read_script_file(const char* filename, Command_line* cmdline,
|
||||
|
||||
// We don't want this file to be opened in binary mode.
|
||||
Position_dependent_options posdep = cmdline->position_dependent_options();
|
||||
if (posdep.format() == General_options::OBJECT_FORMAT_BINARY)
|
||||
posdep.set_format("elf");
|
||||
if (posdep.format_enum() == General_options::OBJECT_FORMAT_BINARY)
|
||||
posdep.set_format_enum(General_options::OBJECT_FORMAT_ELF);
|
||||
Input_file_argument input_argument(filename, false, "", false, posdep);
|
||||
Input_file input_file(&input_argument);
|
||||
if (!input_file.open(cmdline->options(), dirsearch, task))
|
||||
|
Reference in New Issue
Block a user