diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-04 18:21:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-04 18:21:43 +0000 |
commit | 7cc619c3b1e037f50afd7c932d8c5409a6db5cb5 (patch) | |
tree | 10c46db6dcc8e2d41e93e851fb95ea06a816ed71 /gold/script.cc | |
parent | 95ece4283165eaa6beeb4a3497d12b8726e8bdc8 (diff) | |
download | gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.zip gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.gz gdb-7cc619c3b1e037f50afd7c932d8c5409a6db5cb5.tar.bz2 |
From Craig Silverstein: rename some option functions in preparation
for reworking option handling.
Diffstat (limited to 'gold/script.cc')
-rw-r--r-- | gold/script.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/script.cc b/gold/script.cc index eef034e..2ce14a5 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -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)) |