diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-04 23:10:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-04 23:10:38 +0000 |
commit | ee1fe73e110f7009719b6befefd9fabe94672931 (patch) | |
tree | 10b08a9e267cbba7127112fef725dac0dd8f96df /gold/compressed_output.cc | |
parent | 3954eb47e14c40e07db4ada5069debdc6fd1ae93 (diff) | |
download | binutils-gdb-ee1fe73e110f7009719b6befefd9fabe94672931.tar.gz |
From Craig Silverstein: rework option handling to make it easier to
add a new option.
Diffstat (limited to 'gold/compressed_output.cc')
-rw-r--r-- | gold/compressed_output.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/compressed_output.cc b/gold/compressed_output.cc index 1eca021e716..e62eab22459 100644 --- a/gold/compressed_output.cc +++ b/gold/compressed_output.cc @@ -112,7 +112,7 @@ Output_compressed_section::set_final_data_size() this->write_to_postprocessing_buffer(); bool success = false; - if (this->options_->zlib_compress_debug_sections()) + if (strcmp(this->options_->compress_debug_sections(), "zlib") == 0) success = zlib_compress(uncompressed_data, uncompressed_size, &this->data_, &compressed_size); if (success) |