aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-02-26 21:45:30 +0000
committerIan Lance Taylor <iant@google.com>2008-02-26 21:45:30 +0000
commit45aa233bdcc27243a2b3e2c699ad0ab59f83901b (patch)
tree7483af747e28433511eaa64b11233b19473b89c9 /gold/compressed_output.cc
parent2008-02-26 H.J. Lu <hongjiu.lu@intel.com> (diff)
downloadbinutils-gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.gz
binutils-gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.tar.bz2
binutils-gdb-45aa233bdcc27243a2b3e2c699ad0ab59f83901b.zip
From Craig Silverstein: rename option functions for future option
handling rewrite.
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 6904077e7de..0bbcb559f36 100644
--- a/gold/compressed_output.cc
+++ b/gold/compressed_output.cc
@@ -49,7 +49,7 @@ zlib_compress(const char* uncompressed_data, unsigned long uncompressed_size,
*compressed_data = new char[*compressed_size];
int compress_level;
- if (parameters->optimization_level() >= 1)
+ if (parameters->optimize() >= 1)
compress_level = 9;
else
compress_level = 1;