summaryrefslogtreecommitdiff
path: root/gold/compressed_output.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-03-04 23:10:38 +0000
committerIan Lance Taylor <iant@google.com>2008-03-04 23:10:38 +0000
commitee1fe73e110f7009719b6befefd9fabe94672931 (patch)
tree10b08a9e267cbba7127112fef725dac0dd8f96df /gold/compressed_output.cc
parent3954eb47e14c40e07db4ada5069debdc6fd1ae93 (diff)
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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/compressed_output.cc b/gold/compressed_output.cc
index 1eca021e71..e62eab2245 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)