diff options
Diffstat (limited to 'gold/gold.cc')
-rw-r--r-- | gold/gold.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/gold.cc b/gold/gold.cc index d09dee3..1775db6 100644 --- a/gold/gold.cc +++ b/gold/gold.cc @@ -196,7 +196,7 @@ queue_middle_tasks(const General_options& options, gold_error(_("cannot mix -r with dynamic object %s"), (*input_objects->dynobj_begin())->name().c_str()); if (!doing_static_link - && options.output_format() != General_options::OUTPUT_FORMAT_ELF) + && options.output_format() != General_options::OBJECT_FORMAT_ELF) gold_fatal(_("cannot use non-ELF output format with dynamic object %s"), (*input_objects->dynobj_begin())->name().c_str()); |