diff options
author | Ian Lance Taylor <iant@google.com> | 2008-02-08 07:06:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-02-08 07:06:58 +0000 |
commit | bc644c6cfca852cd34e486a018bfde7fd1ac55e8 (patch) | |
tree | 0a3f5a7539df0cebdaddc0accf07a156e5c5221c /gold/gold.cc | |
parent | 897b09ca9f17a38ab9c552ae6933eb595283aa4c (diff) | |
download | gdb-bc644c6cfca852cd34e486a018bfde7fd1ac55e8.zip gdb-bc644c6cfca852cd34e486a018bfde7fd1ac55e8.tar.gz gdb-bc644c6cfca852cd34e486a018bfde7fd1ac55e8.tar.bz2 |
Add support for --format binary for input files.
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()); |