aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gold/gold.cc')
-rw-r--r--gold/gold.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gold/gold.cc b/gold/gold.cc
index bf5ac89..4f1f871 100644
--- a/gold/gold.cc
+++ b/gold/gold.cc
@@ -204,11 +204,7 @@ queue_initial_tasks(const General_options& options,
if (parameters->incremental_update())
{
Output_file* of = new Output_file(options.output_file_name());
- if (!of->open_for_modification())
- gold_info(_("incremental update not possible: "
- "cannot open %s"),
- options.output_file_name());
- else
+ if (of->open_base_file(options.incremental_base(), true))
{
ibase = open_incremental_binary(of);
if (ibase != NULL